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

Scott Cantor cantor.2 at osu.edu
Thu Dec 20 19:48:51 EST 2018


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

scantor pushed a commit to annotated tag debian/2.6.0+dfsg1-2
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=797b5cc7a085f44d8c61fef9afa853b135be39b1

commit 797b5cc7a085f44d8c61fef9afa853b135be39b1
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: 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)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list