[libtest-pod-coverage-perl] 09/11: Finally switch to a minimal dh7 style debian/rules file

Axel Beckert abe at deuxchevaux.org
Wed Sep 11 22:27:07 UTC 2013


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository libtest-pod-coverage-perl.

commit ab5d82cfaf0088b7badde2e338518a9750bba0e5
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Sep 12 00:14:32 2013 +0200

    Finally switch to a minimal dh7 style debian/rules file
---
 debian/changelog |    1 +
 debian/rules     |   55 ++----------------------------------------------------
 2 files changed, 3 insertions(+), 53 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ba62022..7a7da83 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,7 @@ libtest-pod-coverage-perl (1.08-4) UNRELEASED; urgency=low
     + Remove now obsolete variable definitions
     + Remove no more needed parameters to dh_clean and dh_installchangelogs
     + Remove ancient and obsolote source and diff targets
+    + Finally switch to a minimal dh7 style debian/rules file
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:47:58 +0100
 
diff --git a/debian/rules b/debian/rules
index af08ce7..41ddedd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -11,52 +7,5 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-
-	# Add commands to compile the package here
-	dh_auto_configure
-	dh_auto_build
-	dh_auto_test
-
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
-	dh_auto_clean
-
-	dh_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 here for an architecture-independent package
-
-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
+%:
+	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtest-pod-coverage-perl.git



More information about the Pkg-perl-cvs-commits mailing list