[libdata-walk-perl] 01/05: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Wed Dec 25 20:39:59 UTC 2013


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

abe pushed a commit to branch master
in repository libdata-walk-perl.

commit e6dcb62c2a3339610aee575f23bde6fafd8538bc
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Dec 25 21:29:06 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 bc49afe..784ad98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,7 @@ libdata-walk-perl (1.00-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:28:37 +0200
 
diff --git a/debian/rules b/debian/rules
index a6466ab..7ec97a9 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/libdata-walk-perl.git



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