[libmath-nocarry-perl] 03/19: Use dh_auto_{configure, build, install, test, clean}

Axel Beckert abe at deuxchevaux.org
Sun May 31 00:41:08 UTC 2015


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

abe pushed a commit to branch master
in repository libmath-nocarry-perl.

commit 64837e935fd8e0f95357846beb467555d2b33711
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 31 02:07:49 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 41c591d..fb5aef6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ libmath-nocarry-perl (1.11-3) UNRELEASED; urgency=low
   * debian/copyright: Use David Moreno Garza's @debian.org address.
   * Bump debhelper compatibility to 8
     + Update versioned debhelper build-dependency accordingly.
+  * Revamp debian/rules
+    + Use dh_auto_{configure,build,install,test,clean}
 
  -- gregor herrmann <gregoa at debian.org>  Wed, 06 Aug 2008 21:33:52 -0300
 
diff --git a/debian/rules b/debian/rules
index b59ca3c..0ef4086 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,23 +13,23 @@ include /usr/share/quilt/quilt.make
 build: build-stamp
 build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
+	dh_auto_configure
+	dh_auto_build
+	dh_auto_test
 	touch $@
 
 clean: unpatch
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
+	dh_auto_clean
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	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

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



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