You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/10/08 20:21:15 UTC

[trafficserver] 01/02: Doc: Tweak makefiles to not build man pages for install if doc building is disabled.

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 47ae5441d860f35135e981aca4c9cfa1ce66261b
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Mon Oct 2 17:20:48 2017 -0500

    Doc: Tweak makefiles to not build man pages for install if doc building is disabled.
    
    (cherry picked from commit e971f7c587ae627605a510665100321fa0ac1892)
---
 Makefile.am     | 2 ++
 doc/Makefile.am | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 0e8439d..6aa702a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -96,7 +96,9 @@ install-examples: examples
 	@cd example && $(MAKE) $(AM_MAKEFLAGS) install pkglibdir=$(pkglibexecdir)
 
 install-data-hook:
+if BUILD_DOCS
 	@cd doc && $(MAKE) $(AM_MAKEFLAGS) install-man
+endif
 
 rat:
 	java -jar $(top_srcdir)/ci/apache-rat-0.11-SNAPSHOT.jar -E $(top_srcdir)/ci/rat-regex.txt  -d $(top_srcdir)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 557d8a4..d3c8e5a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -28,7 +28,9 @@ $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS): man
 # Hook the 'all' target so that the man pages get generated in the "all" target, prior
 # to "make install". If we leave it to "make install" time, then the man pages are likely
 # to me generated as root.
+if BUILD_DOCS
 all-am: $(man1_MANS) $(man3_MANS) $(man5_MANS) $(man8_MANS)
+endif
 
 endif
 

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.