[libclass-delegator-perl] 02/09: Use dh(1) and debhelper compatibility level 8.

gregor herrmann gregoa at debian.org
Sun Jan 12 15:52:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libclass-delegator-perl.

commit ff16b3028a650c0556f0a13ca8e12f506a2e8b6e
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 12 16:46:54 2014 +0100

    Use dh(1) and debhelper compatibility level 8.
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 54 ++----------------------------------------------------
 3 files changed, 4 insertions(+), 54 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/control b/debian/control
index 9998d31..a1d1bef 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl (>= 5.8), libmodule-build-perl
 Standards-Version: 3.8.0
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libclass-delegator-perl.git
diff --git a/debian/rules b/debian/rules
index 38e8394..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,54 +1,4 @@
 #!/usr/bin/make -f
 
-#export DH_VERBOSE=1
-
-PACKAGE = $(shell dh_listpackages)
-
-ifndef PERL
-PERL = $(shell which perl)
-endif
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor DESTDIR=$(CURDIR)/debian/$(PACKAGE) create_packlist=0
-	touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp 
-	dh_testdir
-	$(MAKE) OPTIMIZE="-O2 -g -Wall"
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-	[ ! -f Build ] || $(MAKE) realclean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k 
-	dh_installdirs
-	$(MAKE) install
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs Changes
-	dh_installdocs
-	dh_compress
-	dh_fixperms
-	dh_perl
-	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 configure
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-delegator-perl.git



More information about the Pkg-perl-cvs-commits mailing list