[Pkg-cli-libs-commits] [SCM] webkit-sharp branch, master, updated. debian/0.3-3-7-gf7ab58b

Iain Lane laney at debian.org
Fri Jul 15 10:02:14 UTC 2011


The following commit has been merged in the master branch:
commit 1c8b4f5eaf9acd686d475837cb9b21d1b231bf3c
Author: Iain Lane <laney at debian.org>
Date:   Fri Jul 15 10:23:02 2011 +0100

    Use debhelper overrides instead of --before etc

diff --git a/debian/control b/debian/control
index 80c4d4c..b06f680 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: cli-mono
 Priority: optional
 Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org>
 Uploaders: Mirco Bauer <meebey at debian.org>, Jo Shields <directhex at apebox.org>
-Build-Depends: debhelper (>= 7), quilt (>= 0.46-7~)
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~)
 Build-Depends-Indep: cli-common-dev (>= 0.5.7),
  mono-devel (>= 2.4.2.3),
  pkg-config,
diff --git a/debian/rules b/debian/rules
index aeda3c3..a96f719 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-export DH_VERBOSE=1
 
 DEB_VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
 VERSION = $(shell echo $(DEB_VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,')
@@ -8,23 +7,16 @@ DEB_CLI_API_VERSION = 0.3
 
 include /usr/share/cli-common/cli.make
 
-build: 
-	dh $@ --before configure
-	./configure CSC=/usr/bin/mono-csc --prefix=/usr
-	dh $@ --after configure
+override_dh_auto_configure:
+	dh_auto_configure -- CSC=/usr/bin/mono-csc --prefix=/usr
 
-install: build
-	dh $@ --before dh_install
+override_dh_install:
 	perl -pe 's/#DEB_CLI_ABI_VERSION#/$(DEB_CLI_ABI_VERSION)/' -i \
 	  $(CURDIR)/debian/tmp/usr/lib/pkgconfig/webkit-sharp-1.0.pc
-	dh $@ --remaining
+	dh_install
 
-binary: binary-indep
-binary-indep: install
-	dh $@ --before dh_makeclilibs
+override_dh_makeclilibs:
 	dh_makeclilibs -i -m $(DEB_CLI_API_VERSION)
-	dh $@ --after dh_makeclilibs
-
 
 %:
 	dh $@ --with quilt
@@ -51,3 +43,5 @@ get-orig-source: build-tarball
 	mv $(BASE_NAME)/$(BASE_NAME)-$(TARBALL_VERSION).tar.gz \
 	   ../tarballs/$(BASE_NAME)_$(TARBALL_VERSION).orig.tar.gz
 	rm -rf $(BASE_NAME)
+
+.PHONY: get-orig-source build-tarball $(BASE_NAME)/configure unpack-upstream-source

-- 
webkit-sharp



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