diff options
author | xrs <xrs@mail36.net> | 2018-06-30 19:22:10 +0200 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2018-06-30 19:22:10 +0200 |
commit | f47bd9b4f08d9995d62697782cecc4967b1422d0 (patch) | |
tree | 2476a1da49688713c1f6a0addeb59c0e2424cc39 | |
parent | dd68d665e140970c7d9dfd899fbdd4fefacb54a7 (diff) | |
download | gnunet-f47bd9b4f08d9995d62697782cecc4967b1422d0.tar.gz gnunet-f47bd9b4f08d9995d62697782cecc4967b1422d0.zip |
fix --enable-documentation option
-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 |