[log4shib] 01/13: Build only the documentation for indep builds

Ferenc Wágner wferi-guest at moszumanska.debian.org
Tue Aug 2 10:42:21 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 log4shib.

commit 41cb8de8c8320c797dc7c8ec0a744102c4efd6a7
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Thu Mar 31 14:45:43 2016 +0200

    Build only the documentation for indep builds
    
    Closes: #814435
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index d1586f8..036299a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,15 @@ override_dh_auto_configure:
 	dh_auto_configure -- --disable-static $(DEBUG) log4shib_cflags=' '
 # avoid leaking build flags into the pkg-config file
 
+override_dh_auto_build-indep:
+	$(MAKE) docs
+
+# the test target would build the software
+override_dh_auto_test-indep:
+
+override_dh_auto_install-indep:
+	$(MAKE) -C doc DESTDIR=$(CURDIR)/debian/tmp install
+
 override_dh_install-arch:
 	pod2man --release=$(VERSION) --section=1 --center=log4shib \
 	    debian/log4shib-config.pod debian/log4shib-config.1

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



More information about the Pkg-shibboleth-devel mailing list