[Pkg-cli-libs-commits] r3975 - in /packages/cecil/trunk/debian: changelog compat control rules

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Sat Feb 7 20:18:52 UTC 2009


Author: hanska-guest
Date: Sat Feb  7 20:18:52 2009
New Revision: 3975

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3975
Log:
* debian/control:
  + debhelper dependency bumped to >= 7
* debian/compat bumped to 7
* debian/rules updated: using dh7-style

Modified:
    packages/cecil/trunk/debian/changelog
    packages/cecil/trunk/debian/compat
    packages/cecil/trunk/debian/control
    packages/cecil/trunk/debian/rules

Modified: packages/cecil/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/cecil/trunk/debian/changelog?rev=3975&op=diff
==============================================================================
--- packages/cecil/trunk/debian/changelog (original)
+++ packages/cecil/trunk/debian/changelog Sat Feb  7 20:18:52 2009
@@ -4,8 +4,11 @@
     + updated for Mono 2.0 transition
   * debian/control:
     + added Homepage field, dropped from long description
+    + debhelper dependency bumped to >= 7
+  * debian/compat bumped to 7
+  * debian/rules updated: using dh7-style
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 07 Feb 2009 21:08:00 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sat, 07 Feb 2009 21:18:00 +0100
 
 cecil (0.6-1) unstable; urgency=low
 

Modified: packages/cecil/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/cecil/trunk/debian/compat?rev=3975&op=diff
==============================================================================
--- packages/cecil/trunk/debian/compat (original)
+++ packages/cecil/trunk/debian/compat Sat Feb  7 20:18:52 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: packages/cecil/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/cecil/trunk/debian/control?rev=3975&op=diff
==============================================================================
--- packages/cecil/trunk/debian/control (original)
+++ packages/cecil/trunk/debian/control Sat Feb  7 20:18:52 2009
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
 Uploaders: Sebastian Dröge <slomo at debian.org>, Jose Carlos Garcia Sogo <jsogo at debian.org>
-Build-Depends: debhelper (>= 5), dpatch
+Build-Depends: debhelper (>= 7), dpatch
 Build-Depends-Indep: cli-common-dev (>= 0.5.4),
  mono-devel (>= 2.0),
  sharutils,

Modified: packages/cecil/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/cecil/trunk/debian/rules?rev=3975&op=diff
==============================================================================
--- packages/cecil/trunk/debian/rules (original)
+++ packages/cecil/trunk/debian/rules Sat Feb  7 20:18:52 2009
@@ -4,26 +4,18 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This is for the .wapi directory for Mono.
-export MONO_SHARED_DIR=$(CURDIR)
+include /usr/share/cli-common/cli.make
 
 # provide patch and unpatch targets
 include /usr/share/dpatch/dpatch.make
 
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-
 UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
 ABIVERSION = 0.5
 
-build: patch-stamp build-stamp
-build-stamp:
+build: build-stamp
+build-stamp: $(DPATCH_STAMPFN)
 	uudecode -o debian/mono.snk debian/mono.snk.uue
+	dh build --before dh_auto_build
 
 	# build Mono.Cecil.dll
 	cd Mono.Cecil && csc -keyfile:../debian/mono.snk \
@@ -46,53 +38,28 @@
                     -out:policy.0.5.Mono.Cecil.dll \
                     -keyfile:mono.snk
 
-	touch build-stamp
+	dh build --after dh_auto_build
+	touch $@
 
 clean: unpatch
-	dh_testdir
-	dh_testroot
-	-$(MAKE) clean
-	rm -f debian/policy.0.5.Mono.Cecil.dll
-	rm -rf $(MONO_SHARED_DIR)/.wapi
-	rm -f patch-stamp build-stamp debian/mono.snk
-	rm -f config.make
+	dh $@ --before dh_clean
+	dh_clean debian/policy.0.5.Mono.Cecil.dll debian/mono.snk config.make \
+		Mono.Cecil/Mono.Cecil.dll Mono.Cecil/mono-cecil.pc Mono.Cecil.Mdb/Mono.Cecil.Mdb.dll
 
-	rm -f Mono.Cecil/Mono.Cecil.dll
-	rm -f Mono.Cecil/mono-cecil.pc
-	rm -f Mono.Cecil.Mdb/Mono.Cecil.Mdb.dll
+install: install-stamp
+install-stamp: build
+	dh install --before dh_installchangelogs
+	dh_installchangelogs Mono.Cecil/ChangeLog
+	dh install --after dh_installchangelogs
 
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	
-binary-indep: patch build install
-	dh_testdir
-	dh_testroot
-	dh_installdirs
-
-	dh_install
-
-	dh_installchangelogs Mono.Cecil/ChangeLog
-	dh_installdocs
-	dh_installman
-	dh_installcligac
-	
-	dh_compress
-	dh_fixperms
-	dh_clifixperms
-	dh_clistrip
+binary-indep: install
+	dh $@ --before dh_makeclilibs
 	dh_makeclilibs -m $(UPVERSION)
 	dh_clideps -d
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh $@ --remaining
 
-binary-arch: build install
+binary-arch:
 
 binary: binary-indep binary-arch
 
-.PHONY: patch build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install 




More information about the Pkg-cli-libs-commits mailing list