From c4c9e2eced9833f2e5c56639eb4c7adb0331e396 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Sat, 5 Oct 2013 01:16:28 +0200 Subject: [PATCH] Make docs/reference/swe-glib SUBDIR part optional Depending on GTK-Doc availability --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b657228..f410c88 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,9 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = swe swe/src swe/doc src po docs/reference/swe-glib data tests +SUBDIRS = swe swe/src swe/doc src po data tests + +if ENABLE_GTK_DOC +SUBDIRS += docs/reference/swe-glib +endif DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc