summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2017-07-19 12:17:04 -0400
committerAdrian Thurston <thurston@colm.net>2017-07-19 12:17:04 -0400
commitbbfc82738f34d3fa45c64333b3d02550c93849f9 (patch)
treec7abf572c2174bdbdcdafb8d85cbbf240ed4cc16 /doc
parent152832c0bb3c4bcd19709f02e0e70dee12c4c413 (diff)
downloadcolm-bbfc82738f34d3fa45c64333b3d02550c93849f9.tar.gz
try to build manual only if we have asciidoc and pygments
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e3333ed8..dad60626 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -39,9 +39,13 @@ CLEANFILES = $(OUT_FILES)
EXTRA_DIST = $(IN_FILES)
+if BUILD_MANUAL
+
doc_DATA = $(OUT_FILES)
SUFFIXES = .html .adoc
.adoc.html:
$(ASCIIDOC) -b $(OUTPUT) $(OPTIONS) -o $@ $<
+
+endif