aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Gillmann <ng0@n0.is>2018-03-31 10:54:26 +0000
committerNils Gillmann <ng0@n0.is>2018-03-31 10:54:26 +0000
commitc60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740 (patch)
treecea06f78187a03918790c6532a33e880a4854481
parent29d2fd50260dd3f41ba5209579656d3a15005fec (diff)
downloadgnunet-c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740.tar.gz
gnunet-c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740.zip
This should almost make it possible to pass --enable-documentation-only
Signed-off-by: Nils Gillmann <ng0@n0.is>
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac16
2 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 41967a513..6864b4956 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,10 @@ if !TALER_ONLY
7 SUBDIRS += contrib 7 SUBDIRS += contrib
8endif 8endif
9 9
10if DOCUMENTATION_ONLY
11 SUBDIRS = doc
12endif
13
10EXTRA_DIST = \ 14EXTRA_DIST = \
11 ABOUT-NLS \ 15 ABOUT-NLS \
12 config.rpath \ 16 config.rpath \
diff --git a/configure.ac b/configure.ac
index 881262cbe..668ac7529 100644
--- a/configure.ac
+++ b/configure.ac
@@ -611,6 +611,22 @@ else
611 AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation]) 611 AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation])
612fi 612fi
613 613
614# should the build process be building only the documentation?
615AC_MSG_CHECKING(whether to build only documentation)
616AC_ARG_ENABLE([documentation-only],
617 [AS_HELP_STRING([--enable-documentation-only], [build only the documentation])],
618 [documentation_only=${enableval}],
619 [documentation_only=no])
620AC_MSG_RESULT($documentation_only)
621if test "x$documentation_only" = "xyes"
622then
623 AM_CONDITIONAL([DOCUMENTATION_ONLY],true)
624 AC_DEFINE([DOCUMENTATION_ONLY],[1],[Building only the documentation])
625else
626 AM_CONDITIONAL([DOCUMENTATION_ONLY],false)
627 AC_DEFINE([DOCUMENTATION_ONLY],[0],[Not building only the documentation])
628fi
629
614# should the build process be restricted to the code required 630# should the build process be restricted to the code required
615# for GNU Taler wallets? 631# for GNU Taler wallets?
616AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY) 632AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY)