aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2016-01-20 13:52:29 -0500
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-01-27 14:21:13 +0300
commit5097b2dd7b542f397cfe6a8c2e39f2266c2421e5 (patch)
tree1fe03f632037b92bd986028955e3830c61f3dec7 /doc
parentf4016bd83146b7ecb267d12a03c61ba6ad84b8cf (diff)
doc: make docs build conditionally
Currently docs will build the images regardless of the setting for enable-user-docs at configure time. The image generation should be dependent on actually building docs so that systems without the image tools installed will not generate warnings. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 41d804bc7..2a381064b 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,10 +1,6 @@
-SUBDIRS = images
-
-if HAVE_DOXYGEN
+if user_guide
clean-local:
rm -rf output
-endif
-if user_guide
-SUBDIRS += implementers-guide users-guide process-guide
+SUBDIRS = images implementers-guide users-guide process-guide
endif