[libtime-human-perl] 08/15: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Mon Dec 23 03:38:40 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libtime-human-perl.
commit ef109697c524befe1fdfa42bd84d85176a64c518
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Mon Dec 23 04:21:55 2013 +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 13661bb..3c35d93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ libtime-human-perl (1.03-3) 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:32:55 +0200
diff --git a/debian/rules b/debian/rules
index 3bd0a5e..7aff3d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,16 +5,16 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
- $(MAKE) test
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
- if [ -e Makefile ]; then $(MAKE) realclean; fi
+ dh_auto_clean
dh_clean
install: build
@@ -22,7 +22,7 @@ install: build
dh_testroot
dh_prep
dh_installdirs usr/lib
- $(MAKE) install PREFIX=$(CURDIR)/debian/`dh_listpackages`/usr
+ dh_auto_install
[ ! -d $(CURDIR)/debian/`dh_listpackages`/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/`dh_listpackages`/usr/lib/perl5
binary-arch: build install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtime-human-perl.git
More information about the Pkg-perl-cvs-commits
mailing list