[git] KSBA - branch, master, updated. libksba-1.3.5-5-gab23f39

by Marcus Brinkmann cvs at cvs.gnupg.org
Mon Jun 19 14:17:49 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "KSBA is a library to access X.509 certificates and CMS data.".

The branch, master has been updated
       via  ab23f39a91b5c16eda2d9d581f9bf2ab2da39cf2 (commit)
      from  3bb0c54fe47eb72e1e7be93de8775b37045de34d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ab23f39a91b5c16eda2d9d581f9bf2ab2da39cf2
Author: Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de>
Date:   Mon Jun 19 14:16:39 2017 +0200

    configure: Add flag to disable documentation build.
    
    * configure.ac: Add new option --disable-doc.
    (BUILD_DOC): New automake conditional.
    * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
    (DISTCHECK_CONFIGURE_FLAGS): New variable.
    
    Signed-Off-By: Marcus Brinkmann <mb at g10code.com>

diff --git a/Makefile.am b/Makefile.am
index f16e128..a19c382 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,6 +19,7 @@
 ## Process this file with automake to produce Makefile.in
 
 ACLOCAL_AMFLAGS = -I m4 -I gl/m4
+DISTCHECK_CONFIGURE_FLAGS = --enable-doc
 
 # (A suitable gitlog-to-changelog script can be found in GnuPG master.)
 GITLOG_TO_CHANGELOG=gitlog-to-changelog
@@ -36,8 +37,13 @@ else
 tests = tests
 endif
 
+if BUILD_DOC
+doc = doc
+else
+doc =
+endif
 
-SUBDIRS = m4 gl src ${tests} doc
+SUBDIRS = m4 gl src $(tests) $(doc)
 
 dist-hook: gen-ChangeLog
 
diff --git a/configure.ac b/configure.ac
index 34e4eae..d3a0fd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -412,6 +412,12 @@ AC_SUBST(BUILD_TIMESTAMP)
 AC_DEFINE_UNQUOTED(BUILD_TIMESTAMP, "$BUILD_TIMESTAMP",
                    [The time this package was configured for a build])
 
+build_doc=yes
+AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc],
+                                    [do not build the documentation]),
+                     build_doc=$enableval, build_doc=yes)
+AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno])
+
 
 AC_CONFIG_FILES([
 Makefile

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am  | 8 +++++++-
 configure.ac | 6 ++++++
 2 files changed, 13 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
KSBA is a library to access X.509 certificates and CMS data.
http://git.gnupg.org




More information about the Gnupg-commits mailing list