From 020893243a2dde911d5853ade8070fcef9c5fad9 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 14 Jan 2018 21:30:59 +0000 Subject: Makefile, configure.ac, doc/Makefile: Add the ability to opt-out of documentation building with --disable-documentation, defaults to --enable-documentation --- doc/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/Makefile.am') diff --git a/doc/Makefile.am b/doc/Makefile.am index ab8ccc4b5..28db606c5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,10 @@ # This Makefile.am is in the public domain -SUBDIRS = man doxygen documentation +if DOCUMENTATION + SUBDIRS = man doxygen documentation +endif +if !DOCUMENTATION + SUBDIRS = man doxygen +endif EXTRA_DIST = \ outdated-and-old-installation-instructions.txt -- cgit v1.2.3