[libwebservice-cia-perl] 03/07: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Mon Jun 2 01:13:56 UTC 2014


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

abe pushed a commit to branch master
in repository libwebservice-cia-perl.

commit 93716c6d1ca1d0202f2e8a3ac959f4a89eced605
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Jun 2 03:02:09 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 3a908d4..73d7e7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,7 @@ libwebservice-cia-perl (1.4-2) UNRELEASED; urgency=low
     + Update versioned debhelper build-dependency accordingly.
   * Revamp debian/rules:
     + Fix 2x lintian warning debian-rules-missing-recommended-target
+    + Use dh_auto_{configure,build,test,install,clean}
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:48:55 +0100
 
diff --git a/debian/rules b/debian/rules
index 00a45df..16f532c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,9 +31,9 @@ build-stamp:
 	dh_testdir
 
 	# Add commands to compile the package here
-	$(PERL) Build.PL --installdirs vendor create_packlist=0
-	$(PERL) Build
-	$(PERL) Build test
+	dh_auto_configure
+	dh_auto_build
+	dh_auto_test
 
 	touch $@
 
@@ -41,11 +41,10 @@ clean:
 	dh_testdir
 	dh_testroot
 
-	dh_clean build-stamp install-stamp
-
 	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
+	dh_auto_clean
 
+	dh_clean build-stamp install-stamp
 
 install: install-stamp
 install-stamp: build-stamp
@@ -54,7 +53,7 @@ install-stamp: build-stamp
 	dh_clean -k
 
 	# Add commands to install the package into debian/$(PACKAGE) here
-	$(PERL) Build install destdir=$(TMP)
+	dh_auto_install
 
 	rm -f $(TMP)/usr/bin/webservice-cia-makedbm.pl
 	rm -rf $(TMP)/usr/bin

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



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