[libdublincore-record-perl] 11/17: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Tue Dec 24 03:57:52 UTC 2013


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

abe pushed a commit to branch master
in repository libdublincore-record-perl.

commit 5c70fb3697ac03d64a856d5ed1effc0e1567d970
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 24 04:38:53 2013 +0100

    Use dh_auto_{configure,build,test,install,clean}
---
 debian/changelog |  1 +
 debian/rules     | 13 +++++--------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a2ed22f..aad73c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,7 @@ libdublincore-record-perl (0.03-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>  Wed, 06 Aug 2008 18:23:27 -0300
 
diff --git a/debian/rules b/debian/rules
index e427ca1..f075538 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,21 +29,18 @@ build-stamp:
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Build.PL installdirs=vendor
-	$(PERL) Build
-	$(PERL) Build test
+	dh_auto_configure
+	dh_auto_build
+	dh_auto_test
 
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-
+	dh_auto_clean
 	dh_clean build-stamp install-stamp
 
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
-
 install: build install-stamp
 install-stamp:
 	dh_testdir
@@ -51,7 +48,7 @@ install-stamp:
 	dh_prep
 
 	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	dh_auto_install
 
 	touch install-stamp
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdublincore-record-perl.git



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