[libclass-std-utils-perl] 06/10: Bump debhelper compatibility level to 9 and dh(1).
gregor herrmann
gregoa at debian.org
Mon Jun 8 21:58:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libclass-std-utils-perl.
commit 73de3d8f78aeb92ec0975153c41f4e50356d3451
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Jun 8 23:52:19 2015 +0200
Bump debhelper compatibility level to 9 and dh(1).
---
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 47 ++---------------------------------------------
3 files changed, 4 insertions(+), 47 deletions(-)
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 239d62c..3a64fa1 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Xavier Oswald <x.oswald at free.fr>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
-Build-Depends: debhelper (>= 5),
+Build-Depends: debhelper (>= 9),
libmodule-build-perl
Build-Depends-Indep: perl,
libtest-pod-perl,
diff --git a/debian/rules b/debian/rules
index e96ae1c..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,47 +1,4 @@
#!/usr/bin/make -f
-export PERL_MM_USE_DEFAULT=1
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(PERL) Build install destdir=$(TMP) create_packlist=0
- touch $@
-
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-std-utils-perl.git
More information about the Pkg-perl-cvs-commits
mailing list