Remove examples.doxy dep w/--disable-examples
authorJames Zern <jzern@google.com>
Thu, 24 Feb 2011 23:11:05 +0000 (15:11 -0800)
committerJames Zern <jzern@google.com>
Thu, 24 Feb 2011 23:11:05 +0000 (15:11 -0800)
This allows the base documentation to be built without the need for php
which is required to produce the example documentation

Change-Id: Id1861723c672fa8da132a074a4657e2cb94c1e79

docs.mk

diff --git a/docs.mk b/docs.mk
index 28df9d2..98332a2 100644 (file)
--- a/docs.mk
+++ b/docs.mk
@@ -34,7 +34,8 @@ TXT_DOX = $(call enabled,TXT_DOX)
 
 EXAMPLE_PATH += $(SRC_PATH_BARE) #for CHANGELOG, README, etc
 
-doxyfile: libs.doxy_template libs.doxy examples.doxy
+doxyfile: $(if $(findstring examples, $(ALL_TARGETS)),examples.doxy)
+doxyfile: libs.doxy_template libs.doxy
        @echo "    [CREATE] $@"
        @cat $^ > $@
        @echo "STRIP_FROM_PATH += $(SRC_PATH_BARE) $(BUILD_ROOT)" >> $@