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

Scott Cantor cantor.2 at osu.edu
Tue Oct 19 16:14:22 UTC 2021


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

scantor pushed a commit to annotated tag debian/1.0.9-3
in repository cpp-log4shib.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-log4shib.git;a=commit;h=41cb8de8c8320c797dc7c8ec0a744102c4efd6a7

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

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


More information about the commits mailing list