[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: This should almost make it
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: This should almost make it possible to pass --enable-documentation-only |
Date: |
Sat, 31 Mar 2018 12:54:13 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new c60051643 This should almost make it possible to pass
--enable-documentation-only
c60051643 is described below
commit c60051643fe8bc3e6ec4dcc6dc28d1fc03bfe740
Author: Nils Gillmann <address@hidden>
AuthorDate: Sat Mar 31 10:54:26 2018 +0000
This should almost make it possible to pass --enable-documentation-only
Signed-off-by: Nils Gillmann <address@hidden>
---
Makefile.am | 4 ++++
configure.ac | 16 ++++++++++++++++
2 files changed, 20 insertions(+)
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
SUBDIRS += contrib
endif
+if DOCUMENTATION_ONLY
+ SUBDIRS = doc
+endif
+
EXTRA_DIST = \
ABOUT-NLS \
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
AC_DEFINE([DOCUMENTATION],[0],[Not building the documentation])
fi
+# should the build process be building only the documentation?
+AC_MSG_CHECKING(whether to build only documentation)
+AC_ARG_ENABLE([documentation-only],
+ [AS_HELP_STRING([--enable-documentation-only], [build only the
documentation])],
+ [documentation_only=${enableval}],
+ [documentation_only=no])
+AC_MSG_RESULT($documentation_only)
+if test "x$documentation_only" = "xyes"
+then
+ AM_CONDITIONAL([DOCUMENTATION_ONLY],true)
+ AC_DEFINE([DOCUMENTATION_ONLY],[1],[Building only the documentation])
+else
+ AM_CONDITIONAL([DOCUMENTATION_ONLY],false)
+ AC_DEFINE([DOCUMENTATION_ONLY],[0],[Not building only the documentation])
+fi
+
# should the build process be restricted to the code required
# for GNU Taler wallets?
AC_MSG_CHECKING(whether to compile GNU Taler Wallet library ONLY)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: This should almost make it possible to pass --enable-documentation-only,
gnunet <=