[Pkg-cli-libs-commits] [SCM] notify-sharp branch, master, updated. debian/0.4.0.r3032-2-6-gd56de8b

Chow Loong Jin hyperair at ubuntu.com
Thu Feb 24 17:54:47 UTC 2011


The following commit has been merged in the master branch:
commit 853a9cf1a3631008f1a3b7e0fd391f112db55917
Author: Chow Loong Jin <hyperair at ubuntu.com>
Date:   Fri Feb 25 01:30:28 2011 +0800

    Use dh7 rules

diff --git a/debian/control b/debian/control
index c94c403..64e4344 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian CLI Libraries Team <pkg-cli-libs-team at lists.alioth.debian.org
 Uploaders: Sebastian Dröge <slomo at debian.org>,
            Mirco Bauer <meebey at debian.org>,
            Chow Loong Jin <hyperair at ubuntu.com>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7.2)
 Build-Depends-Indep: cli-common-dev (>= 0.5.4),
                      mono-devel (>= 2.4.3),
                      monodoc-base (>= 1.1.18),
diff --git a/debian/rules b/debian/rules
index 99c1100..6f73100 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,61 +4,15 @@
 # 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
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--prefix=/usr \
+		GMCS=/usr/bin/mono-csc
 
-config: config-stamp
-config-stamp: patch-stamp
-	dh_testdir
-	./configure --prefix=/usr GMCS=/usr/bin/mono-csc 
-	touch config-stamp
-
-build: patch-stamp build-stamp
-build-stamp: config-stamp
-	$(MAKE)
-	touch build-stamp
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) distclean
-	rm -rf $(MONO_SHARED_DIR)/.wapi
-	rm -f build-stamp
-	rm -f config-stamp
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs ChangeLog
-	dh_installdocs
-	dh_installdirs
-	dh_install
-	dh_installcligac
-	dh_installman
-	dh_link
-	dh_compress
-	dh_fixperms
-	dh_clifixperms
+override_dh_makeclilibs:
 	dh_makeclilibs -m0.4.0~r2998
-	dh_clideps
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
 
-.PHONY: build clean binary-indep binary-arch binary install 
+%:
+	dh $@

-- 
notify-sharp



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