[libclone-pp-perl] 09/15: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Sat Jan 4 03:52:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libclone-pp-perl.
commit a775e2c76105353c6e4983a40b0bf1594011309e
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sat Jan 4 04:45:01 2014 +0100
Use dh_auto_{configure,build,test,install,clean}
---
debian/changelog | 1 +
debian/rules | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 094d3e8..0553d16 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ libclone-pp-perl (1.02-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}
-- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:40:46 +0100
diff --git a/debian/rules b/debian/rules
index 2533d3e..3fb7acc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,14 +18,14 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ dh_auto_configure
+ dh_auto_build
touch build-stamp
clean:
dh_testdir
dh_testroot
- [ ! -f Makefile ] || $(MAKE) realclean
+ dh_auto_clean
dh_clean build-stamp install-stamp
install: build install-stamp
@@ -33,8 +33,8 @@ install-stamp:
dh_testdir
dh_testroot
dh_prep
- $(MAKE) test
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ dh_auto_test
+ dh_auto_install
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
touch install-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclone-pp-perl.git
More information about the Pkg-perl-cvs-commits
mailing list