[libfile-path-expand-perl] 07/12: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Sun Dec 22 02:48:29 UTC 2013


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

abe pushed a commit to branch master
in repository libfile-path-expand-perl.

commit c62372615fd5237df194858faa99047f4bbc4e18
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Dec 22 03:41:49 2013 +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 896c5d2..d326829 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ libfile-path-expand-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 <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:29:22 +0200
 
diff --git a/debian/rules b/debian/rules
index c372af9..065fe5b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,23 +23,23 @@ build-arch: build-stamp
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
+	dh_auto_configure
+	dh_auto_build
+	dh_auto_test
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_auto_clean
 	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_prep
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	dh_auto_install
 	touch $@
 
 binary-arch:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfile-path-expand-perl.git



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