summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 240af13..342e364 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -20,7 +20,11 @@ MKDB_OPTIONS=--sgml-mode --output-format=xml
# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=
+if ENABLE_GTK_DOC
include $(top_srcdir)/gtk-doc.make
+else
+EXTRA_DIST =
+endif
# Version information for marking the documentation
EXTRA_DIST += version.xml.in