summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2012-04-23 09:23:48 +0200
committerFrédéric Péters <fpeters@entrouvert.com>2012-04-23 09:39:55 +0200
commite97a36faac64dea67b8c23e97876dd04363253ff (patch)
treefb8e707ebddf21e620588fdf7b58cfb1ad0b803c /docs
parent952c0f552cddeeaa7d9b9c2914a2c651baceb58c (diff)
downloadlasso-e97a36faac64dea67b8c23e97876dd04363253ff.tar.gz
lasso-e97a36faac64dea67b8c23e97876dd04363253ff.tar.xz
lasso-e97a36faac64dea67b8c23e97876dd04363253ff.zip
Allow building from git without gtk-doc installed
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