[libtk-splashscreen-perl] 06/12: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Wed Jan 1 05:48:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libtk-splashscreen-perl.
commit 45b17d8e225f7ee35d1fe400832a7622e46ff77e
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Jan 1 06:39:31 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 dcd7085..23cd9f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ libtk-splashscreen-perl (1.0-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}
-- Frank Lichtenheld <djpig at debian.org> Thu, 08 Nov 2007 19:06:22 +0100
diff --git a/debian/rules b/debian/rules
index 3fdba61..3f2714b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,17 +15,17 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- perl Makefile.PL verbose INSTALLDIRS=vendor
- $(MAKE)
- xvfb-run -a $(MAKE) test
+ dh_auto_configure
+ dh_auto_build
+ xvfb-run -a dh_auto_test
touch build-stamp
clean:
dh_testdir
dh_testroot
+ dh_auto_clean
dh_clean build-stamp
- [ ! -f Makefile ] || $(MAKE) clean
rm -f Makefile.old
install: build
@@ -35,7 +35,7 @@ install: build
dh_installdirs
echo "$(CURDIR)"
echo "$(debtmp)"
- $(MAKE) install DESTDIR=$(debtmp) PREFIX=/usr
+ dh_auto_install
[ ! -d $(debtmp)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(debtmp)/usr/lib/perl5
binary-indep: build install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtk-splashscreen-perl.git
More information about the Pkg-perl-cvs-commits
mailing list