[libtk-histentry-perl] 06/13: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Wed Jan 1 04:33:06 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository libtk-histentry-perl.

commit d2d38dbc3176009dbfdda838eca781eae0022ab4
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Jan 1 05:21:16 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 e5cdbc1..6854f77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -48,6 +48,7 @@ libtk-histentry-perl (0.43-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}
 
  -- Frank Lichtenheld <djpig at debian.org>  Thu, 08 Nov 2007 18:23:53 +0100
 
diff --git a/debian/rules b/debian/rules
index 39b079a..1c187b5 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
@@ -33,7 +33,7 @@ install: build
 	dh_testroot
 	dh_prep
 	dh_installdirs
-	$(MAKE) DESTDIR=$(debtmp) PREFIX=/usr install
+	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-histentry-perl.git



More information about the Pkg-perl-cvs-commits mailing list