[libtemplate-plugin-calendar-simple-perl] 08/16: Use dh_auto_{configure, build, test, install, clean}

Axel Beckert abe at deuxchevaux.org
Sun Dec 15 22:41:08 UTC 2013


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

abe pushed a commit to branch master
in repository libtemplate-plugin-calendar-simple-perl.

commit 742a574443f8775108bf928fd8c2a6b250e1768d
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Dec 15 20:47:15 2013 +0100

    Use dh_auto_{configure,build,test,install,clean}
    
    Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
---
 debian/changelog |  2 ++
 debian/rules     | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 04aa932..d53a124 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -36,6 +36,8 @@ libtemplate-plugin-calendar-simple-perl (0.02-4) 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}
+      - Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:32:08 +0200
 
diff --git a/debian/rules b/debian/rules
index d6ddcb9..10f96a5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ configure: configure-stamp
 configure-stamp:
 	dh_testdir
 
-	$(PERL) Makefile.PL verbose INSTALLDIRS=vendor
+	dh_auto_configure
 
 	touch configure-stamp
 
@@ -25,8 +25,8 @@ build-indep: build-stamp
 build-stamp: configure-stamp
 	dh_testdir
 
-	$(MAKE)
-	$(MAKE) test
+	dh_auto_build
+	dh_auto_test
 
 	touch build-stamp
 
@@ -35,7 +35,7 @@ clean:
 	dh_testroot 
 	rm -f build-stamp configure-stamp
 
-	[ ! -e Makefile ] || $(MAKE) distclean
+	dh_auto_clean
 
 	dh_clean
 
@@ -45,7 +45,7 @@ install:
 	dh_prep
 	dh_installdirs
 
-	$(MAKE) install PREFIX=$(TMP)/usr
+	dh_auto_install
 
 	# Remove any empty directories
 

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



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