From: Nils Gillmann Date: Sat, 31 Mar 2018 11:07:50 +0000 (+0000) Subject: Add condition to toplevel Makefile to support building just the documentation. Corner... X-Git-Tag: v0.11.0pre66~127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6cf770ab68030d2ba6d7c2c9ed0a5655de4f1d6;p=oweals%2Fgnunet.git Add condition to toplevel Makefile to support building just the documentation. Cornercase for special occasions. Signed-off-by: Nils Gillmann --- diff --git a/Makefile.am b/Makefile.am index 6864b4956..45a693ac9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,16 +1,16 @@ # This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include -SUBDIRS = doc m4 src po pkgconfig +if DOCUMENTATION_ONLY + SUBDIRS = doc +else + SUBDIRS = doc m4 src po pkgconfig +endif if !TALER_ONLY SUBDIRS += contrib endif -if DOCUMENTATION_ONLY - SUBDIRS = doc -endif - EXTRA_DIST = \ ABOUT-NLS \ config.rpath \