Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-27 14:39:14 (GMT)
committer Johan Dahlin <johan@gnome.org>2009-02-27 14:41:32 (GMT)
commitcedeb23d6aeb4e629a7147426a5671a7155e1c97 (patch)
tree626a9521d8efb3669d520af37b880d08b96a1909
parent7320bb9dfa92f28914ca18335e7f30d2bbce7e8f (diff)
Disable more of the build if gtk-doc is disabled
-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 f3ddc22..f2b1950 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 d99b6b1..ea36b58 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
########################################################################