[libclass-data-accessor-perl] 02/09: Update to debhelper v9 and minimize debian/rules

Niko Tyni ntyni at moszumanska.debian.org
Mon Mar 21 21:00:22 UTC 2016


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

ntyni pushed a commit to branch master
in repository libclass-data-accessor-perl.

commit e397246147a69053f6cdf71a08c4b26c09636c60
Author: Niko Tyni <ntyni at debian.org>
Date:   Mon Mar 21 22:19:25 2016 +0200

    Update to debhelper v9 and minimize debian/rules
---
 debian/compat  |  2 +-
 debian/control |  2 +-
 debian/rules   | 24 +++---------------------
 3 files changed, 5 insertions(+), 23 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 22d8cd0..ef4f5b8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Krzysztof Krzyżaniak (eloy) <eloy at debian.org>,
            gregor herrmann <gregoa at debian.org>
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: perl,
                      libtest-pod-perl,
                      libtest-pod-coverage-perl
diff --git a/debian/rules b/debian/rules
index 92af9b5..3f81eae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,7 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build --before test
-	TEST_AUTHOR=1 $(MAKE) test
-	dh build --after test
-	touch $@
-
-clean:
-	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	touch $@
-
-binary-arch:
-
-binary-indep: install
+%:
 	dh $@
 
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+override_dh_auto_test:
+	TEST_AUTHOR=1 dh_auto_test

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



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