trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [trafficserver] branch master updated: Doc: Tweak makefiles to not build man pages for install if doc building is disabled.
Date Fri, 06 Oct 2017 15:55:10 GMT
This is an automated email from the ASF dual-hosted git repository.

amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new e971f7c  Doc: Tweak makefiles to not build man pages for install if doc building
is disabled.
e971f7c is described below

commit e971f7c587ae627605a510665100321fa0ac1892
Author: Alan M. Carroll <amc@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.
---
 Makefile.am     | 2 ++
 doc/Makefile.am | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 926d921..b3f6b69 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
 
 TESTS = tools/check-unused-dependencies
 
diff --git a/doc/Makefile.am b/doc/Makefile.am
index f45921d..7ccf838 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" <commits@trafficserver.apache.org>'].

Mime
View raw message