[libauthen-simple-passwd-perl] 03/11: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Sun May 25 01:38:31 UTC 2014


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

abe pushed a commit to branch master
in repository libauthen-simple-passwd-perl.

commit 8c3685228a418398216f007a0ce7c16670c6a3d6
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun May 25 03:23:04 2014 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 7c20433..2a5b45f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,8 @@ libauthen-simple-passwd-perl (0.6-3) UNRELEASED; urgency=low
   * Switch to source format "3.0 (quilt)"
   * Bump debhelper compatibility to 8
     + Update versioned debhelper build-dependency accordingly
+  * Revamp debian/rules:
+    + Use dh_auto_{configure,build,test,install,clean}
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:39:52 +0100
 
diff --git a/debian/rules b/debian/rules
index 4605e76..f03e255 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,23 +10,23 @@ endif
 build: build-stamp
 build-stamp:
 	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
+	dh_auto_configure
+	dh_auto_build
 	touch $@
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
-	TEST_POD=1 $(MAKE) test
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	TEST_POD=1 dh_auto_test
+	dh_auto_install
 	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
+	dh_auto_clean
 	dh_clean build-stamp install-stamp
 
 binary-arch: build install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-simple-passwd-perl.git



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