From cac2ea0fcda2222f36ebd3414f91302dad691b85 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 14 Sep 2008 11:20:25 +0100 Subject: [PATCH] [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. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 48ac8551f..13c1862d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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