[libunicode-map-perl] 11/15: Merge together the two consecutive rm calls in 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 02c112f5fde2c92d1c47565757ce567075d97710
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri Dec 13 23:49:10 2013 +0100

    Merge together the two consecutive rm calls in debian/rules
---
 debian/rules | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index b44323f..f1f8d3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,10 +16,8 @@ override_dh_clean:
 
 override_dh_auto_install:
 		dh_auto_install
-		# Don't install scripts
-		rm -rf $(CURDIR)/$(TMP_DIR)/usr/bin
-		[ ! -d $(CURDIR)/$(TMP_DIR)/usr/share/man/man1 ] || \
-			$(RM) -vr $(CURDIR)/$(TMP_DIR)/usr/share/man/man1
+		# 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

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