[xmltooling] 58/65: Simplify removal of documentation files

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jun 30 13:07:45 UTC 2016


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

wferi-guest pushed a commit to branch debian/master
in repository xmltooling.

commit 2f5b59827a49887fe6a1703916308b0e3afbab43
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Jun 30 08:58:14 2016 +0200

    Simplify removal of documentation files
---
 debian/rules | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3b8f3bc..0539434 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,11 +27,9 @@ override_dh_auto_configure:
 	dh_auto_configure -- $(DEBUG)
 
 override_dh_install:
-	set -e; \
-	for i in README.txt LICENSE.txt NOTICE.txt OPENSSL.LICENSE LOG4CPP.LICENSE \
-	    CURL.LICENSE; do \
-		rm debian/tmp/usr/share/doc/xmltooling-*/$$i; \
-	done
+	cd debian/tmp/usr/share/doc/xmltooling-* && \
+	    rm README.txt LICENSE.txt NOTICE.txt OPENSSL.LICENSE LOG4CPP.LICENSE \
+	       CURL.LICENSE
 	dh_install --fail-missing
 
 override_dh_installdocs:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git



More information about the Pkg-shibboleth-devel mailing list