[libcurses-widgets-perl] 07/14: Use dh_auto_{configure, build, install, clean}
Axel Beckert
abe at deuxchevaux.org
Wed Sep 11 23:24:50 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libcurses-widgets-perl.
commit 1cdb9f1631f62c5e8fe209acfee842ba5ec8f8b7
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Thu Sep 12 01:03:27 2013 +0200
Use dh_auto_{configure,build,install,clean}
---
debian/changelog | 2 ++
debian/rules | 11 ++++-------
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5f3bddc..15fcd01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,8 @@ libcurses-widgets-perl (1.997-6) UNRELEASED; urgency=low
+ Fixes lintian warning package-uses-deprecated-debhelper-compat-version
* Clarify debian/copyright with regards to GPL versions
+ Fixes lintian warning copyright-refers-to-versionless-license-file
+ * Revamp debian/rules
+ + Use dh_auto_{configure,build,install,clean}
* Also fixes the following lintian warnings:
+ dh-clean-k-is-deprecated
+ debian-rules-missing-recommended-target
diff --git a/debian/rules b/debian/rules
index e2611e1..50d84b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,8 +20,8 @@ build-arch: build-stamp
build-indep: build-stamp
build-stamp:
dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE)
+ dh_auto_configure
+ dh_auto_build
# No, we don't run make test. Don't include it - Interactive :-/
# $(MAKE) test
touch $@
@@ -29,18 +29,15 @@ build-stamp:
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_prep
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/lib/perl5
+ dh_auto_install
touch $@
binary-arch:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcurses-widgets-perl.git
More information about the Pkg-perl-cvs-commits
mailing list