[libauthen-simple-cdbi-perl] 07/08: Switch to debhelper v9 tiny debian/rules
Niko Tyni
ntyni at moszumanska.debian.org
Sat Jun 6 17:37:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository libauthen-simple-cdbi-perl.
commit 4d53facba82a419b92e6caf4c75ecd99e877a01e
Author: Niko Tyni <ntyni at debian.org>
Date: Sat Jun 6 20:32:15 2015 +0300
Switch to debhelper v9 tiny debian/rules
---
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 51 +++------------------------------------------------
3 files changed, 5 insertions(+), 50 deletions(-)
diff --git a/debian/compat b/debian/compat
index 1e8b314..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-6
+9
diff --git a/debian/control b/debian/control
index 812ebaf..fe95fb1 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 (>= 6),
+Build-Depends: debhelper (>= 9),
libmodule-build-perl
Build-Depends-Indep: perl,
libtest-pod-perl,
diff --git a/debian/rules b/debian/rules
index 64376e8..c52ed54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,51 +1,6 @@
#!/usr/bin/make -f
-PACKAGE=$(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
+export TEST_POD=1
+%:
+ dh $@
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- touch $@
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- TEST_POD=1 $(MAKE) test
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
-
-binary-arch: build install
-
-binary: binary-indep binary-arch
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs Changes
- dh_compress
- dh_fixperms
- dh_strip
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: binary clean ibinary-indep binary-arch build clean install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-simple-cdbi-perl.git
More information about the Pkg-perl-cvs-commits
mailing list