summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-27 11:39:14 -0300
committerJohan Dahlin <johan@gnome.org>2009-02-27 11:41:32 -0300
commitcedeb23d6aeb4e629a7147426a5671a7155e1c97 (patch)
tree626a9521d8efb3669d520af37b880d08b96a1909 /docs
parent7320bb9dfa92f28914ca18335e7f30d2bbce7e8f (diff)
downloadgobject-introspection-cedeb23d6aeb4e629a7147426a5671a7155e1c97.tar.gz
Disable more of the build if gtk-doc is disabled
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am5
-rw-r--r--docs/reference/Makefile.am3
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index f3ddc22d..f2b19502 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1 +1,4 @@
-SUBDIRS = reference
+SUBDIRS =
+if ENABLE_GTK_DOC
+SUBDIRS += reference
+endif
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index d99b6b18..ea36b587 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -29,10 +29,11 @@ GTKDOC_LIBS = $(GIREPO_LIBS) $(top_builddir)/girepository/libgirepository-1.0.la
FIXXREF_OPTIONS=
# include common portion ...
+if ENABLE_GTK_DOC
include $(top_srcdir)/gtk-doc.make
-
# Other files to distribute
EXTRA_DIST += version.xml.in
+endif
########################################################################