[shibboleth-sp2] 01/03: In arch-only builds there's no Doxygen tag file to remove

Ferenc Wágner wferi at moszumanska.debian.org
Thu Sep 1 11:21:30 UTC 2016


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

wferi pushed a commit to branch debian/experimental
in repository shibboleth-sp2.

commit 797b5cc7a085f44d8c61fef9afa853b135be39b1
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Sep 1 10:32:15 2016 +0200

    In arch-only builds there's no Doxygen tag file to remove
---
 debian/rules | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index da667de..dfe3e53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,15 +35,16 @@ override_dh_auto_configure:
 override_dh_auto_install:
 	NOKEYGEN=1 dh_auto_install
 
+docdir = debian/tmp/usr/share/doc/shibboleth-*
 override_dh_install:
 	# The necessary documentation files are installed in each binary
 	# package by dh_installdocs below.
+	cd $(docdir) && \
+	    rm CREDITS.txt LICENSE.txt NOTICE.txt README.txt RELEASE.txt \
+	       FASTCGI.LICENSE OPENSSL.LICENSE LOG4CPP.LICENSE
 	# The tag file is unreproducible (it captures the full build path),
 	# but is used as a "stamp" file during the build.
-	cd debian/tmp/usr/share/doc/shibboleth-* && \
-	    rm CREDITS.txt LICENSE.txt NOTICE.txt README.txt RELEASE.txt \
-	       FASTCGI.LICENSE OPENSSL.LICENSE LOG4CPP.LICENSE \
-	       api/shibboleth.tag
+	cd $(docdir) && rm -f api/shibboleth.tag
 	cd debian/tmp/etc/shibboleth && \
 	    rm *.dist *.config shibd-amazon shibd-osx.plist shibd-redhat shibd-suse \
 	       $(remove-service)

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



More information about the Pkg-shibboleth-devel mailing list