[Pkg-mono-svn-commits] [SCM] mono-basic branch, master, updated. debian/2.6.2-2-13-g0965d04

Jo Shields directhex at apebox.org
Fri Mar 25 22:02:41 UTC 2011


The following commit has been merged in the master branch:
commit 8c6c6406744b476e166d7780b935af72118465ba
Author: Jo Shields <directhex at apebox.org>
Date:   Fri Mar 25 21:17:44 2011 +0000

    Convert packaging to DebHelper 7

diff --git a/debian/control b/debian/control
index 972551b..77c9b34 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: mono-basic
 Priority: optional
 Maintainer: Debian Mono Group <pkg-mono-group at lists.alioth.debian.org>
 Uploaders: Mirco Bauer <meebey at debian.org>, Jo Shields <directhex at apebox.org>
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 7.0.50~),
  cli-common-dev (>= 0.4.4),
  mono-runtime (>= 2.10)
 Standards-Version: 3.9.1
diff --git a/debian/rules b/debian/rules
index 2eac34e..e3d5506 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,10 +14,6 @@ export MONO_SHARED_DIR=$(CURDIR)
 
 DEB_CLI_API_VERSION = 2.0
 
-config.status: configure
-	dh_testdir
-	./configure --prefix=/usr
-
 get-orig-source:
 	uscan \
 		--package $(DEB_SOURCE_NAME) \
@@ -28,47 +24,11 @@ get-orig-source:
 		--force-download \
 		--rename
 
-build: build-stamp
-build-stamp: config.status
-	dh_testdir
-	$(MAKE)
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	rm -rf $(MONO_SHARED_DIR)/.wapi
-	rm -f build/config.make
-	$(MAKE) clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-	$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_install -i --list-missing
-	dh_installchangelogs -i ChangeLog
-	dh_installdocs -i
-	dh_installman
+override_dh_clistrip:
 	dh_clistrip -i --dbg-package=mono-basic-dbg
-	dh_compress
-	dh_fixperms -i
-	dh_clifixperms -i
-	dh_makeclilibs -i -m $(DEB_CLI_API_VERSION)
-	dh_installdeb -i
-	dh_clideps -i
-	dh_gencontrol -i
-	dh_md5sums -i
-	dh_builddeb -i
 
-binary-arch: build install
+override_dh_makeclilibs:
+	dh_makeclilibs -i -m $(DEB_CLI_API_VERSION)
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

-- 
mono-basic



More information about the Pkg-mono-svn-commits mailing list