[libmath-round-perl] 10/17: Use dh_auto_{configure, build, test, install, clean}, drop dh_movefiles
Axel Beckert
abe at deuxchevaux.org
Tue Dec 24 03:03:07 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libmath-round-perl.
commit 1bbb7c019dade0d5faf2b5cf37b459d16a8132fe
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Dec 24 03:51:07 2013 +0100
Use dh_auto_{configure,build,test,install,clean}, drop dh_movefiles
* Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
* Enables running the test suite at build time
---
debian/changelog | 3 +++
debian/rules | 10 +++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2872815..48bdaf2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,9 @@ libmath-round-perl (0.06-4) UNRELEASED; urgency=low
+ Fix lintian warning debian-rules-missing-recommended-target
+ Fix lintian warning dh_installmanpages-is-obsolete
+ Replace "dh_clean -k" with "dh_prep"
+ + Use dh_auto_{configure,build,test,install,clean}, drop dh_movefiles
+ - Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
+ - Enables running the test suite at build time
-- Carlo Segre <segre at debian.org> Mon, 26 Oct 2009 08:44:11 -0500
diff --git a/debian/rules b/debian/rules
index c890b35..8c791bd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,15 +13,16 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) clean
+ dh_auto_clean
dh_clean
install:
@@ -29,8 +30,7 @@ install:
dh_testroot
dh_prep
dh_installdirs
- $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
- dh_movefiles /usr
+ dh_auto_install
binary-arch:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-round-perl.git
More information about the Pkg-perl-cvs-commits
mailing list