[libcoy-perl] 13/14: Finally switch to minimal dh-style debian/rules file

Axel Beckert abe at deuxchevaux.org
Tue Dec 17 20:40:24 UTC 2013


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

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

commit 2138d305e5e1c7b4886b200a55ae1d448da3f73b
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Dec 17 21:37:45 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 8d4e252..82ca952 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -53,6 +53,7 @@ libcoy-perl (0.06-7) UNRELEASED; urgency=low
     + Drop obsolete /usr/lib/perl5 handling
     + Move dh_install{docs,examples} parameter to debian/{docs,examples}
     + Drop unneeded variable usage.
+    + Finally switch to a minimal dh-style debian/rules files
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:21 +0200
 
diff --git a/debian/rules b/debian/rules
index 5f42c17..edacc20 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/libcoy-perl/usr/share/perl5/Lingua/EN/Inflect.pm
-	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/libcoy-perl.git



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