[libcoy-perl] 06/14: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Tue Dec 17 20:40:23 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libcoy-perl.
commit 7ed4b7489203a0307ff25a78b1e515e41a968683
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Tue Dec 17 21:28:27 2013 +0100
Use dh_auto_{configure,build,test,install,clean}
---
debian/changelog | 1 +
debian/rules | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9352cf3..7ab30e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -47,6 +47,7 @@ libcoy-perl (0.06-7) UNRELEASED; urgency=low
+ Update versioned debhelper build-dependency accordingly
* Revamp debian/rules
+ Fix lintian warning debian-rules-missing-recommended-target
+ + Use dh_auto{configure,build,test,install,clean}
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:28:21 +0200
diff --git a/debian/rules b/debian/rules
index adedb75..552334a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,23 +20,23 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(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
- [ ! -f Makefile ] || $(MAKE) realclean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ dh_auto_install
$(RM) $(TMP)/usr/share/perl5/Lingua/EN/Inflect.pm
[ ! -d $(TMP)/usr/lib/perl5 ] || \
rmdir --ignore-fail-on-non-empty --parents --verbose \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcoy-perl.git
More information about the Pkg-perl-cvs-commits
mailing list