[libunicode-map-perl] 12/15: Refactoring: Reindent debian/rules
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 6e918178e3ede10bcf47993ec163275663192276
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Fri Dec 13 23:49:59 2013 +0100
Refactoring: Reindent debian/rules
---
debian/changelog | 1 +
debian/rules | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 1da03ac..d3dd3c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -51,6 +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
* Also fix the following lintian warnings:
+ binary-control-field-duplicates-source (priority, section)
diff --git a/debian/rules b/debian/rules
index f1f8d3d..0afb54b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,19 +11,19 @@ override_dh_auto_configure: fix-big5
dh_auto_configure
override_dh_clean:
- [ ! -f fix-big5-stamp ] || mv debian/BIG5.map.dist Map/EASTASIA/BIG5.map
- dh_clean
+ [ ! -f fix-big5-stamp ] || mv debian/BIG5.map.dist Map/EASTASIA/BIG5.map
+ 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
+ dh_auto_install
+ # Neither install scripts nor their man-pages
+ $(RM) -rvf $(CURDIR)/$(TMP_DIR)/usr/bin $(CURDIR)/$(TMP_DIR)/usr/share/man/man1
# fix the BIG5 map on the fly
-fix-big5: fix-big5-stamp
+fix-big5: fix-big5-stamp
fix-big5-stamp:
- dh_testdir
- sh debian/fix-big5 > debian/BIG5.map.new
- mv Map/EASTASIA/BIG5.map debian/BIG5.map.dist
- mv debian/BIG5.map.new Map/EASTASIA/BIG5.map
- touch fix-big5-stamp
+ dh_testdir
+ sh debian/fix-big5 > debian/BIG5.map.new
+ mv Map/EASTASIA/BIG5.map debian/BIG5.map.dist
+ mv debian/BIG5.map.new Map/EASTASIA/BIG5.map
+ touch 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