summaryrefslogtreecommitdiff
path: root/doc/reference/cogl/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/cogl/Makefile.am')
-rw-r--r--doc/reference/cogl/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/reference/cogl/Makefile.am b/doc/reference/cogl/Makefile.am
index 614494fc..66550cce 100644
--- a/doc/reference/cogl/Makefile.am
+++ b/doc/reference/cogl/Makefile.am
@@ -140,7 +140,9 @@ GTKDOC_LIBS=$(top_builddir)/cogl/libcogl.la $(COGL_DEP_LIBS)
# This includes the standard gtk-doc make rules, copied by gtkdocize.
EXTRA_DIST =
--include $(top_srcdir)/gtk-doc.make
+if BUILD_GTK_DOC
+include $(top_srcdir)/gtk-doc.make
+endif
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in