[libemail-send-io-perl] 05/11: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Thu Dec 26 03:52:37 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libemail-send-io-perl.
commit 920303c558b2ec90ab0d6b42a2fd70956d51bbe9
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Thu Dec 26 03:50:08 2013 +0100
Use dh_auto_{configure,build,test,install,clean}
---
debian/changelog | 1 +
debian/rules | 21 +++++----------------
2 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b7d5dac..2658add 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,7 @@ libemail-send-io-perl (2.201-1) 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}
* No more install (minimal) upstream README
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:29:10 +0200
diff --git a/debian/rules b/debian/rules
index f7cc70d..10efa08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,29 +25,18 @@ build-indep: build-stamp
build-stamp:
dh_testdir
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we prevent this by setting the INSTALLVENDORARCH
- # and VENDORARCHEXP environment variables.
-
- # Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor \
- INSTALLVENDORARCH=/usr/share/perl5/ \
- VENDORARCHEXP=/usr/share/perl5/
- $(MAKE)
- $(MAKE) test
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch $@
clean:
dh_testdir
dh_testroot
-
+ dh_auto_clean
dh_clean build-stamp install-stamp
- # Add commands to clean up after the build process here
- [ ! -f Makefile ] || $(MAKE) realclean
-
install: build install-stamp
install-stamp:
dh_testdir
@@ -55,7 +44,7 @@ install-stamp:
dh_prep
# Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ dh_auto_install
touch $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libemail-send-io-perl.git
More information about the Pkg-perl-cvs-commits
mailing list