[libunicode-map-perl] 13/15: Refactoring: normalize variable usage

Axel Beckert abe at deuxchevaux.org
Fri Dec 13 23:03:44 UTC 2013


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

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

commit d6efac2227a1dba361112eca2ce553a76dc389dd
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri Dec 13 23:53:06 2013 +0100

    Refactoring: normalize variable usage
---
 debian/changelog | 2 +-
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d3dd3c2..1589686 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,7 +51,7 @@ libunicode-map-perl (0.112-11) UNRELEASED; urgency=low
     + Drop obsolete manual removing of stamp files, now done by dh_clean
     + Drop now obsolete dh_installchangelogs parameter
     + Switch to minimal dh-style debian/rules file
-    + Refactoring: Reindent debian/rules
+    + Refactoring: Reindent debian/rules and normalize variable usage
   * Also fix the following lintian warnings:
     + binary-control-field-duplicates-source (priority, section)
 
diff --git a/debian/rules b/debian/rules
index 0afb54b..0d8a3b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 ## uncomment this to turn on verbose mode
 #export DH_VERBOSE=1
 
-TMP_DIR		= debian/libunicode-map-perl
+TMP = $(CURDIR)/debian/libunicode-map-perl
 
 b% c% i%:
 	dh $@
@@ -17,7 +17,7 @@ override_dh_clean:
 override_dh_auto_install:
 	dh_auto_install
 	# Neither install scripts nor their man-pages
-	$(RM) -rvf $(CURDIR)/$(TMP_DIR)/usr/bin $(CURDIR)/$(TMP_DIR)/usr/share/man/man1
+	$(RM) -rvf $(TMP)/usr/bin $(TMP)/usr/share/man/man1
 
 # fix the BIG5 map on the fly
 fix-big5: fix-big5-stamp

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



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