From fe04a9778c8e0308173ebc8dae28b6fa1c9771c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 19 Jan 2018 19:20:49 +0100 Subject: build: use condititional doc generation Instead of using conditional compilation for generarte documentation, this patch will block parsing Makefile in doc subdirectory if the documentation is not enabled. This patch will make compilation a bit faster when documentation is not generated. --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f149bfe..8362566 100644 --- a/Makefile.am +++ b/Makefile.am @@ -24,7 +24,11 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} AUTOMAKE_OPTIONS = foreign -SUBDIRS = va pkgconfig doc +SUBDIRS = va pkgconfig + +if ENABLE_DOCS +SUBDIRS += doc +endif # Extra clean files so that maintainer-clean removes *everything* MAINTAINERCLEANFILES = \ -- cgit v1.2.1