[libcgi-xml-perl] 12/14: Finally switch to minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Sat Dec 14 00:57:50 UTC 2013


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

abe pushed a commit to branch master
in repository libcgi-xml-perl.

commit 8e64e5036f156cb5e208c292b0956d7044cfe96c
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat Dec 14 01:45:25 2013 +0100

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

diff --git a/debian/changelog b/debian/changelog
index b964117..d09966e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,7 @@ libcgi-xml-perl (0.1-14) UNRELEASED; urgency=low
     + Drop obsolete dh_installchangelogs parameter
     + Move dh_installexamples parameter to debian/examples
     + Remove obsolete variable definitions
+    + Finally switch to minimal dh-style debian/rules file
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:54 +0200
 
diff --git a/debian/rules b/debian/rules
index 68188e0..657234c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,52 +1,7 @@
 #!/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
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-	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_installexamples
-	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/libcgi-xml-perl.git



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