[libmarc-crosswalk-dublincore-perl] 05/08: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Mon Dec 23 23:11:47 UTC 2013


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

abe pushed a commit to branch master
in repository libmarc-crosswalk-dublincore-perl.

commit d22f2c2fcbf96fe59b810b92178649c717962a54
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 24 00:05:44 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index 0823b23..c08b684 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ libmarc-crosswalk-dublincore-perl (0.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 <gregoa at debian.org>  Wed, 06 Aug 2008 18:23:42 -0300
 
diff --git a/debian/rules b/debian/rules
index e427ca1..4b98225 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,20 +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:
@@ -51,7 +49,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/libmarc-crosswalk-dublincore-perl.git



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