From b6cf770ab68030d2ba6d7c2c9ed0a5655de4f1d6 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Sat, 31 Mar 2018 11:07:50 +0000 Subject: Add condition to toplevel Makefile to support building just the documentation. Cornercase for special occasions. Signed-off-by: Nils Gillmann --- Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile.am') 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 \ -- cgit v1.2.3