[libtext-pdf-perl] 08/12: debian/rules: Reduce amount of used variables

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 f0c3e84c0e5096ad290b490fccdddcfce3a794b3
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Dec 11 00:59:22 2013 +0100

    debian/rules: Reduce amount of used variables
---
 debian/changelog |  1 +
 debian/rules     | 10 ++--------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cda3c11..37e3c68 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +51,7 @@ libtext-pdf-perl (0.29a-2) UNRELEASED; urgency=low
     + Drop dh_clean parameters, stamp files are now cleaned automatically
     + Move dh_installdocs parameter to debian/docs
     + Remove no more needed /usr/lib/perl5 handling
+    + Reduce amount of used variables
 
  -- 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 0ac7f0a..3d81560 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,13 +7,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
+TMP = $(CURDIR)/debian/libtext-pdf-perl
 
 build: build-arch build-indep
 build-arch: build-stamp
@@ -47,7 +41,7 @@ binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installexamples examples/*
-	chmod 644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
+	chmod 644 $(TMP)/usr/share/doc/libtext-pdf-perl/examples/*
 	dh_installdocs
 	dh_installchangelogs lib/Text/PDF/changes
 	dh_perl

-- 
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