From cedeb23d6aeb4e629a7147426a5671a7155e1c97 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 27 Feb 2009 14:39:14 +0000 Subject: Disable more of the build if gtk-doc is disabled --- 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 ######################################################################## -- cgit v0.9.1