[libmath-nocarry-perl] 07/19: Finally switch to a minimal dh v7 style debian/rules file
Axel Beckert
abe at deuxchevaux.org
Sun May 31 00:41:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libmath-nocarry-perl.
commit 1d197dcb52ddf036fa059698c5962039cd8d3486
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Sun May 31 02:10:53 2015 +0200
Finally switch to a minimal dh v7 style debian/rules file
---
debian/changelog | 1 +
debian/rules | 50 ++------------------------------------------------
2 files changed, 3 insertions(+), 48 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9d9817c..3b7ec12 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ libmath-nocarry-perl (1.11-3) UNRELEASED; urgency=low
+ Replace "dh_clean -k" by "dh_prep".
+ Drop now redundant parameters to dh_clean and dh_installchangelogs.
+ Remove now obsolete /usr/lib/perl5 cleanup.
+ + Finally switch to a minimal dh v7 style debian/rules file.
-- gregor herrmann <gregoa at debian.org> Wed, 06 Aug 2008 21:33:52 -0300
diff --git a/debian/rules b/debian/rules
index 4717c36..31c1c17 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,51 +2,5 @@
#export DH_VERBOSE=1
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE = $(shell dh_listpackages)
-PERL ?= /usr/bin/perl
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-include /usr/share/quilt/quilt.make
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- dh_auto_configure
- dh_auto_build
- dh_auto_test
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean
- dh_auto_clean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_prep
- dh_auto_install
- touch $@
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installchangelogs
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-nocarry-perl.git
More information about the Pkg-perl-cvs-commits
mailing list