[libpdf-fdf-simple-perl] 04/13: Bump debhelper compatibility level to 8. Use dh(1) in debian/rules.

gregor herrmann gregoa at debian.org
Sun Dec 22 20:40:37 UTC 2013


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

gregoa pushed a commit to branch master
in repository libpdf-fdf-simple-perl.

commit 3206bdea7251f16186ad6a362cca77256936725c
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Dec 22 21:19:23 2013 +0100

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

diff --git a/debian/compat b/debian/compat
index b8626c4..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+8
diff --git a/debian/control b/debian/control
index 0bbf6f4..a7a9d55 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: libpdf-fdf-simple-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 4.0.2), libmodule-build-perl
+Build-Depends: debhelper (>= 8), libmodule-build-perl
 Build-Depends-Indep: perl (>= 5.8.0-7), libparse-recdescent-perl, libclass-methodmaker-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Steffen Schwigon <schwigon at webit.de>
diff --git a/debian/rules b/debian/rules
index 8eb40a0..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,4 @@
 #!/usr/bin/make -f
 
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp install-stamp
-	-$(PERL) Build distclean
-	dh_clean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs ChangeLog
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdf-fdf-simple-perl.git



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