[libperl6-form-perl] 01/09: Use dh_auto_{configure, build, install, test, clean}

Axel Beckert abe at deuxchevaux.org
Sun May 31 16:55:42 UTC 2015


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

abe pushed a commit to branch master
in repository libperl6-form-perl.

commit 3b97d96fcac0cb3be9b02544dfcba1e5b65ceee5
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 31 18:37:07 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 94be1a8..d23a9e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ libperl6-form-perl (0.04-7) UNRELEASED; urgency=low
   * Bump debhelper compatibility to 8
     + Update versioned debhelper build-dependency accordingly.
   * Switch to source format "3.0 (quilt)".
+  * Revamp debian/rules:
+    + Use dh_auto{configure,build,test,install,clean}
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:46:02 +0100
 
diff --git a/debian/rules b/debian/rules
index 966fad4..1f38078 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,9 +23,9 @@ build: build-stamp
 build-stamp:
 	dh_testdir
 
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh_auto_configure
+	dh_auto_build
+	dh_auto_test
 
 	touch $@
 
@@ -34,7 +34,7 @@ clean:
 	dh_testroot
 
 	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh_auto_clean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -42,7 +42,7 @@ install-stamp: build-stamp
 	dh_testroot
 	dh_clean -k
 
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	dh_auto_install
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 
 	touch $@

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



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