[libnet-xwhois-perl] 09/17: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Wed Jan 1 03:34:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libnet-xwhois-perl.
commit 1e25a6c7182d6c47f831cb2d97d2311dcee970df
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Jan 1 04:21:17 2014 +0100
Use dh_auto_{configure,build,test,install,clean}
* Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
* Enables running test suite at build time
* No more leftover files after running clean target
---
debian/changelog | 4 ++++
debian/rules | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b4d4b9d..aaf73f3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,10 @@ libnet-xwhois-perl (0.90-4) 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
+ - Enables running test suite at build time
+ - No more leftover files after running clean target
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:31:17 +0200
diff --git a/debian/rules b/debian/rules
index f98fbe8..739650a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,15 +23,16 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
- [ ! -f makefile ] || $(MAKE) realclean
+ dh_auto_clean
dh_clean
install: build
@@ -39,7 +40,7 @@ install: build
dh_testroot
dh_prep
dh_installdirs
- $(MAKE) install PREFIX=$(TMP)/usr
+ dh_auto_install
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
# Build architecture-dependent files here.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-xwhois-perl.git
More information about the Pkg-perl-cvs-commits
mailing list