[libcgi-formbuilder-source-yaml-perl] 06/11: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Mon Dec 23 22:27:04 UTC 2013


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

abe pushed a commit to branch master
in repository libcgi-formbuilder-source-yaml-perl.

commit 18efafcbd6e18e4445031433b9f927488002261f
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Dec 23 23:15:15 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 7a4a8e9..49ac5ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ libcgi-formbuilder-source-yaml-perl (1.0.8-3) 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>  Sat, 06 Dec 2008 18:35:39 +0100
 
diff --git a/debian/rules b/debian/rules
index 61c5c45..f97b807 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,23 +27,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 build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_auto_clean
 	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build 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
 	#find $(TMP) -type f -name .packlist -print0 | xargs -0 rm
 	touch install-stamp
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-formbuilder-source-yaml-perl.git



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