gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 01/02: always and only build docs


From: gnunet
Subject: [taler-exchange] 01/02: always and only build docs
Date: Mon, 04 Jan 2021 17:45:29 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

commit cdda3d34a3a3b8133a90d934707bf9065fd4471f
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jan 4 17:05:47 2021 +0100

    always and only build docs
---
 Makefile.am  | 14 +-------------
 configure.ac | 38 --------------------------------------
 2 files changed, 1 insertion(+), 51 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d2e8d8e0..d62e19a5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,19 +1,7 @@
 # This Makefile.am is in the public domain
 AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
-if DOC_ONLY
-if ENABLE_DOC
-  SUBDIRS = . contrib doc
-else
-  SUBDIRS = . contrib
-endif
-else
-if ENABLE_DOC
-  SUBDIRS = . contrib src doc
-else
-  SUBDIRS = . contrib src
-endif
-endif
+SUBDIRS = . contrib src doc
 
 BUILT_SOURCES = src/include/taler_error_codes.h
 
diff --git a/configure.ac b/configure.ac
index 7b6977ee..b6fefd94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,18 +48,6 @@ DX_INIT_DOXYGEN([taler-exchange],,,
  DX_CHI_FEATURE(OFF),
  DX_XML_FEATURE(OFF))
 
-AC_MSG_CHECKING([whether to compile documentation ONLY])
-AC_ARG_ENABLE([only-doc],
-  [AS_HELP_STRING([--enable-only-doc], [only compile Taler documentation])],
-  [doc_only=${enableval}],
-  [doc_only=no])
-AC_MSG_RESULT($doc_only)
-AM_CONDITIONAL([DOC_ONLY], [test "x$doc_only" = "xyes"])
-
-
-# Not indented, as most of the file falls under this one...
-AS_IF([test "x$doc_only" != xyes],[
-
 # Checks for programs.
 
 AC_PROG_CC
@@ -501,32 +489,6 @@ AC_TYPE_UINTMAX_T
 # Checks for library functions.
 AC_CHECK_FUNCS([strdup])
 
-
-AC_ARG_ENABLE([[doc]],
-  [AS_HELP_STRING([[--disable-doc]], [do not build any documentation])], ,
-    [enable_doc=yes])
-test "x$enable_doc" = "xno" || enable_doc=yes
-AM_CONDITIONAL([ENABLE_DOC], [test "x$enable_doc" = "xyes"])
-
-
-],[  # This is the big test "$doc_only" on top of the file!
-
-
-# logic if doc_only is set, make sure conditionals are still defined
-AM_CONDITIONAL([HAVE_EXPENSIVE_TESTS], [false])
-AM_CONDITIONAL([MHD_HAVE_EPOLL], [false])
-AM_CONDITIONAL([HAVE_POSTGRESQL], [false])
-AM_CONDITIONAL([HAVE_SQLITE], [false])
-AM_CONDITIONAL([HAVE_LIBCURL], [false])
-AM_CONDITIONAL([HAVE_LIBGNURL], [false])
-AM_CONDITIONAL([HAVE_DEVELOPER], [false])
-AM_CONDITIONAL([USE_COVERAGE], [false])
-AM_CONDITIONAL([ENABLE_DOC], [true])
-AM_CONDITIONAL([HAVE_TWISTER], [false])
-
-# end of 'doc_only'
-])
-
 AC_CONFIG_FILES([Makefile
                  contrib/Makefile
                  doc/Makefile

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]