[libauthen-simple-dbi-perl] 07/08: Switch to debhelper v9 tiny debian/rules

Niko Tyni ntyni at moszumanska.debian.org
Sat Jun 6 17:34:19 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-dbi-perl.

commit acb201bb9c50b8b8955c9f13794caede94d5664d
Author: Niko Tyni <ntyni at debian.org>
Date:   Sat Jun 6 20:26:51 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 a3b4398..f3dcaf4 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-dbi-perl.git



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