From 8e50f39a2c1ba03011bd1e5c51d0721f220e2e7a Mon Sep 17 00:00:00 2001 From: ng0 Date: Mon, 1 Apr 2019 14:06:27 +0000 Subject: add ability to build manpages independent from other documentation choices --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fd18d7c3c..f54ff203f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,21 @@ # This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include +# only documentation (ALL of the documentation) if DOCUMENTATION_ONLY SUBDIRS = doc else SUBDIRS = m4 src po pkgconfig +endif + +# documentation on / off switch (affects all of the documentation) if DOCUMENTATION SUBDIRS += doc endif + +# only manpages, needs "doc" subdir +if INCLUDE_MANPAGES + SUBDIRS += doc endif if !TALER_ONLY -- cgit v1.2.3