docs: Fix recursion into doc/ directory
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 30 Nov 2009 21:51:46 +0000 (21:51 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 30 Nov 2009 21:51:46 +0000 (21:51 +0000)
We should always recurse into the doc/ directory; whether we should then
recurse into reference/, cookbook/ and manual/ is a matter of specific
configure-time flags.

Makefile.am
doc/Makefile.am

index 0e856b0..1a566b9 100644 (file)
@@ -2,11 +2,7 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
 
 NULL =
 
-SUBDIRS = build clutter tests po
-
-if BUILD_GTK_DOC
-SUBDIRS += doc
-endif
+SUBDIRS = doc build clutter tests po
 
 DIST_SUBDIRS = build clutter tests doc po
 
index 7f32061..a80cfc0 100644 (file)
@@ -1,4 +1,8 @@
-SUBDIRS = reference
+SUBDIRS =
+
+if BUILD_GTK_DOC
+SUBDIRS += reference
+endif
 
 if ENABLE_DOCS
 SUBDIRS += common cookbook manual