fix --enable-documentation option
authorxrs <xrs@mail36.net>
Sat, 30 Jun 2018 17:22:10 +0000 (19:22 +0200)
committerxrs <xrs@mail36.net>
Sat, 30 Jun 2018 17:22:10 +0000 (19:22 +0200)
Makefile.am
configure.ac

index 45a693ac9448713a75f485ab84f868126e2efba7..ad32cf9203238b6ab50fbea5a87789071b62daca 100644 (file)
@@ -3,8 +3,11 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 if DOCUMENTATION_ONLY
   SUBDIRS = doc
-else
-  SUBDIRS = doc m4 src po pkgconfig
+else 
+  SUBDIRS = m4 src po pkgconfig
+if DOCUMENTATION
+  SUBDIRS += doc
+endif
 endif
 
 if !TALER_ONLY
index 5d308c6584091292b01acc4234f409b2ba5eac96..ee2f1f49f570dd1eee83c78fe94811858dc50b2c 100644 (file)
@@ -679,7 +679,7 @@ AC_MSG_CHECKING(whether to build documentation)
 AC_ARG_ENABLE([documentation],
    [AS_HELP_STRING([--enable-documentation], [build the documentation])],
    [documentation=${enableval}],
-   [documentation=yes])
+   [documentation=no])
 AC_MSG_RESULT($documentation)
 if test "x$documentation" = "xyes"
 then