[librelative-perl] 01/04: Use dh_auto_{configure, build, test, install, clean}
Axel Beckert
abe at deuxchevaux.org
Sat Jun 6 23:24:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository librelative-perl.
commit 75e9ff950cb0c987682d6fd9a63762a7ebd301bd
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun Jun 7 01:18:15 2015 +0200
Use dh_auto_{configure,build,test,install,clean}
---
debian/changelog | 2 ++
debian/rules | 10 +++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 41ef9da..90a7a27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,6 +30,8 @@ librelative-perl (0.04-2) UNRELEASED; urgency=low
* Declare compliance with Debian Policy 3.9.6.
* Switch to source format "3.0 (quilt)".
* Add explicit build dependency on libmodule-build-perl.
+ * Revamp debian/rules:
+ + Use dh_auto_{configure,build,test,install,clean}.
-- gregor herrmann <gregoa at debian.org> Sat, 10 May 2008 20:49:28 +0200
diff --git a/debian/rules b/debian/rules
index 74cc4d0..e7f6b13 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,23 +21,23 @@ TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
- $(PERL) Build.PL installdirs=vendor
- $(PERL) Build
- $(PERL) Build test
+ dh_auto_configure
+ dh_auto_build
+ dh_auto_test
touch $@
clean:
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
- [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+ dh_auto_clean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- $(PERL) Build install destdir=$(TMP) create_packlist=0
+ dh_auto_install
touch $@
binary-arch:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/librelative-perl.git
More information about the Pkg-perl-cvs-commits
mailing list