Add condition to toplevel Makefile to support building just the documentation. Corner...
authorNils Gillmann <ng0@n0.is>
Sat, 31 Mar 2018 11:07:50 +0000 (11:07 +0000)
committerNils Gillmann <ng0@n0.is>
Sat, 31 Mar 2018 11:07:50 +0000 (11:07 +0000)
Signed-off-by: Nils Gillmann <ng0@n0.is>
Makefile.am

index 6864b49561b0db04bb214664aff0bb246f1a8889..45a693ac9448713a75f485ab84f868126e2efba7 100644 (file)
@@ -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 \