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

Axel Beckert abe at deuxchevaux.org
Sat Dec 14 01:40:25 UTC 2013


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

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

commit 342399f5c5dc7d59b58fdabac9c1b48602e2202b
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sat Dec 14 02:37:43 2013 +0100

    Finally switch to minimal dh-style debian/rules file
---
 debian/changelog |  1 +
 debian/rules     | 48 +++---------------------------------------------
 2 files changed, 4 insertions(+), 45 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7f12037..53d9e92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,7 @@ libcgi-xmlform-perl (0.10-14) UNRELEASED; urgency=low
     + Drop obsolete dh_installchangelogs parameter
     + Move dh_install{examples,docs} parameters to debian/{examples,docs}
     + 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:55 +0200
 
diff --git a/debian/rules b/debian/rules
index 4f49b62..38a1ba8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,53 +1,11 @@
 #!/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 $@
+%:
+	dh $@
 
-clean:
-	dh_testdir
-	dh_testroot
-	dh_auto_clean
-	dh_clean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_prep
+override_dh_auto_install:
 	dh_auto_install
 	$(RM) debian/libcgi-xmlform-perl/usr/share/perl5/CGI/example.pl
-	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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcgi-xmlform-perl.git



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