about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorAdrien Devresse <adrien.devresse@epfl.ch>2016-09-20T14·31+0000
committerAdrien Devresse <adrien.devresse@epfl.ch>2016-09-20T14·34+0000
commit7ef053c6327441bc7306ff6ee12fde2a42301ab4 (patch)
tree5b9ac53cf5148c6a55399b95cd5ff8c994b26c3c /doc
parent0d38b4c7926890decbe2b03ed8f84584a5ce9b8a (diff)
Add a new option to disable documentation generation at configure time
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/local.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/manual/local.mk b/doc/manual/local.mk
index d89555899a70..4376c3644d38 100644
--- a/doc/manual/local.mk
+++ b/doc/manual/local.mk
@@ -1,3 +1,6 @@
+
+ifeq ($(doc_generate),yes)
+
 XSLTPROC = $(xsltproc) --nonet $(xmlflags) \
   --param section.autolabel 1 \
   --param section.label.includes.component.label 1 \
@@ -71,8 +74,14 @@ $(foreach file, $(wildcard $(d)/images/callouts/*.gif), $(eval $(call install-da
 
 $(eval $(call install-symlink, manual.html, $(docdir)/manual/index.html))
 
+
 all: $(d)/manual.html
 
+
+
 clean-files += $(d)/manual.html
 
 dist-files += $(d)/manual.html
+
+
+endif