[libclass-returnvalue-perl] 09/14: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Wed Jan 1 01:27:04 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libclass-returnvalue-perl.
commit 4a348c05e21dc8abe8a8e575d28d04e8d7c053bd
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Jan 1 02:11:05 2014 +0100
Use dh_auto_{configure,build,test,install,clean}
Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
---
debian/changelog | 2 ++
debian/rules | 10 +++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 385be7d..1aadf5e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ libclass-returnvalue-perl (0.55-2) UNRELEASED; urgency=low
* Revamp debian/rules
+ Fix lintian warning debian-rules-missing-recommended-target
+ Replace "dh_clean -k" with "dh_prep"
+ + Use dh_auto_{configure,build,test,install,clean}
+ - Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:08 +0200
diff --git a/debian/rules b/debian/rules
index acffde1..4764fb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ configure: configure-stamp
configure-stamp:
dh_testdir
- perl Makefile.PL verbose INSTALLDIRS=vendor
+ dh_auto_configure
touch configure-stamp
@@ -32,8 +32,8 @@ build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
- $(MAKE)
- $(MAKE) test
+ dh_auto_build
+ dh_auto_test
touch build-stamp
@@ -41,7 +41,7 @@ clean:
dh_testdir
dh_testroot
- [ ! -e Makefile ] || $(MAKE) distclean
+ dh_auto_clean
dh_clean build-stamp configure-stamp
@@ -50,7 +50,7 @@ install:
dh_testroot
dh_prep
- $(MAKE) install PREFIX=$(TMP)/usr
+ dh_auto_install
# Remove any empty directories
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-returnvalue-perl.git
More information about the Pkg-perl-cvs-commits
mailing list