[libclone-pp-perl] 14/15: Finally switch to a minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sat Jan 4 03:52:48 UTC 2014


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

abe pushed a commit to branch master
in repository libclone-pp-perl.

commit 84fd0ba14be99304919d5840940fb37bb55d9cb9
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat Jan 4 04:50:14 2014 +0100

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

diff --git a/debian/changelog b/debian/changelog
index c8af3c0..93bc4fb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ libclone-pp-perl (1.02-2) UNRELEASED; urgency=low
     + Remove obsolete /usr/lib/perl5 handling
     + Drop obsolete dh_clean stamp file parameters
     + Remove obsolete variable usage and targets
+    + Finally switch to a minimal dh-style debian/rules file
   * No more install redundant README (generated from POD)
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:40:46 +0100
diff --git a/debian/rules b/debian/rules
index 6f9498f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,51 +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.
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-	dh_auto_configure
-	dh_auto_build
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: build install-stamp
-install-stamp:
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_auto_test
-	dh_auto_install
-	touch install-stamp
-
-binary-arch:
-# We have nothing to do by default.
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs 
-	dh_perl
-	dh_link
-	dh_strip
-	dh_lintian
-	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/libclone-pp-perl.git



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