diff options
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am index 45a693ac9..ad32cf920 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -3,8 +3,11 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include | |||
3 | 3 | ||
4 | if DOCUMENTATION_ONLY | 4 | if DOCUMENTATION_ONLY |
5 | SUBDIRS = doc | 5 | SUBDIRS = doc |
6 | else | 6 | else |
7 | SUBDIRS = doc m4 src po pkgconfig | 7 | SUBDIRS = m4 src po pkgconfig |
8 | if DOCUMENTATION | ||
9 | SUBDIRS += doc | ||
10 | endif | ||
8 | endif | 11 | endif |
9 | 12 | ||
10 | if !TALER_ONLY | 13 | if !TALER_ONLY |
diff --git a/configure.ac b/configure.ac index 5d308c658..ee2f1f49f 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -679,7 +679,7 @@ AC_MSG_CHECKING(whether to build documentation) | |||
679 | AC_ARG_ENABLE([documentation], | 679 | AC_ARG_ENABLE([documentation], |
680 | [AS_HELP_STRING([--enable-documentation], [build the documentation])], | 680 | [AS_HELP_STRING([--enable-documentation], [build the documentation])], |
681 | [documentation=${enableval}], | 681 | [documentation=${enableval}], |
682 | [documentation=yes]) | 682 | [documentation=no]) |
683 | AC_MSG_RESULT($documentation) | 683 | AC_MSG_RESULT($documentation) |
684 | if test "x$documentation" = "xyes" | 684 | if test "x$documentation" = "xyes" |
685 | then | 685 | then |