[Makefile] Disable doc/ if we don't have gtk-doc.

make check dies in the documentation even if we have explicitly disabled
gtk-doc - so only enter doc/ with gtk-doc enabled.
This commit is contained in:
Chris Wilson 2008-09-14 11:20:25 +01:00
parent 4e731f7c90
commit cac2ea0fcd

View file

@ -3,7 +3,11 @@ include $(top_srcdir)/build/Makefile.am.common
ACLOCAL_AMFLAGS = -I build
DIST_SUBDIRS = src boilerplate test perf doc util
SUBDIRS = src doc
SUBDIRS = src
# gtk-doc is required for our documentation
if ENABLE_GTK_DOC
SUBDIRS += doc
endif
# libpng is required for our test programs
if CAIRO_HAS_PNG_FUNCTIONS
SUBDIRS += boilerplate test perf