summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am8
-rw-r--r--docs/reference/lasso/Makefile.am2
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 4235c7ed..49c40034 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,4 +1,10 @@
MAINTAINERCLEANFILES = Makefile.in
-SUBDIRS = lasso-book reference
+SUBDIRS = lasso-book
+
+if ENABLE_GTK_DOC
+SUBDIRS += reference
+else
+DIST_SUBDIRS = reference
+endif
diff --git a/docs/reference/lasso/Makefile.am b/docs/reference/lasso/Makefile.am
index ac8c5118..4713c3c7 100644
--- a/docs/reference/lasso/Makefile.am
+++ b/docs/reference/lasso/Makefile.am
@@ -90,6 +90,8 @@ GTKDOC_LIBS= \
$(top_builddir)/lasso/liblasso.la \
$(LASSO_LIBS)
+EXTRA_DIST =
+
# This includes the standard gtk-doc make rules, copied by gtkdocize.
include $(top_srcdir)/gtk-doc.make