[libtext-pdf-perl] 09/12: Finally switch to minimal dh-style debian/rules file
Axel Beckert
abe at deuxchevaux.org
Wed Dec 11 00:15:58 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libtext-pdf-perl.
commit cbd425ee5c48957e71efd6f6375be7489152790b
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Wed Dec 11 01:01:35 2013 +0100
Finally switch to minimal dh-style debian/rules file
---
debian/changelog | 1 +
debian/rules | 48 ++++++------------------------------------------
2 files changed, 7 insertions(+), 42 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 37e3c68..b9e34b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,7 @@ libtext-pdf-perl (0.29a-2) UNRELEASED; urgency=low
+ Move dh_installdocs parameter to debian/docs
+ Remove no more needed /usr/lib/perl5 handling
+ Reduce amount of used variables
+ + Finally switch to minimal dh-style debian/rules file
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:32:37 +0200
diff --git a/debian/rules b/debian/rules
index 3d81560..e4fa2f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,56 +1,20 @@
#!/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
TMP = $(CURDIR)/debian/libtext-pdf-perl
-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) $(TMP)/usr/share/perl5/Text/PDF/changes
- touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-binary-indep: build install
- dh_testdir
- dh_testroot
+override_dh_installexamples:
dh_installexamples examples/*
chmod 644 $(TMP)/usr/share/doc/libtext-pdf-perl/examples/*
- dh_installdocs
- dh_installchangelogs lib/Text/PDF/changes
- 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
+override_dh_installchangelogs:
+ dh_installchangelogs lib/Text/PDF/changes
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-pdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list