[libdbix-xmlmessage-perl] 08/11: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Sun Dec 15 19:14:58 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libdbix-xmlmessage-perl.
commit 613fe65be1354354a8b540f074ec9642851be50e
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Dec 15 20:09:40 2013 +0100
Use dh_auto_{configure,build,test,install,clean}
Also remove now obsolete libdbix-xmlmessage-perl.install and
dh_install call.
Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated.
---
debian/changelog | 4 ++++
debian/libdbix-xmlmessage-perl.install | 1 -
debian/rules | 11 +++++------
3 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b15c859..07be0b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,10 @@ libdbix-xmlmessage-perl (0.05-10) 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}
+ - Remove obsolete libdbix-xmlmessage-perl.install
+ - Remove obsolete dh_install call
+ - Fixes lintian warning debian-rules-makemaker-prefix-is-deprecated
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:55 +0200
diff --git a/debian/libdbix-xmlmessage-perl.install b/debian/libdbix-xmlmessage-perl.install
deleted file mode 100644
index dd222db..0000000
--- a/debian/libdbix-xmlmessage-perl.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/share
diff --git a/debian/rules b/debian/rules
index 60349b2..edd89ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ TMP_DIR = debian/tmp
clean:
dh_testdir
dh_testroot
- [ ! -f Makefile ] || $(MAKE) realclean
+ dh_auto_clean
dh_clean
rm -f build-stamp install-stamp
@@ -25,9 +25,9 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- perl Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
- $(MAKE) test
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch build-stamp
install: install-stamp
@@ -36,13 +36,12 @@ install-stamp: build
dh_testroot
dh_prep
dh_installdirs
- $(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
+ dh_auto_install
touch install-stamp
binary-indep: build install
dh_testdir
dh_testroot
- dh_install --sourcedir=$(TMP_DIR)
dh_installdocs
dh_installchangelogs
dh_compress
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbix-xmlmessage-perl.git
More information about the Pkg-perl-cvs-commits
mailing list