]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Enable maintainer mode by default only when building from git
authorOndřej Surý <ondrej@isc.org>
Mon, 22 Jun 2020 12:26:07 +0000 (14:26 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 22 Jun 2020 12:26:07 +0000 (14:26 +0200)
When maintainer mode is enabled (./configure --enable-maintainer-mode)
it enables rebuild of documentation source files that require extra
tools to be installed or compiled.  For a convenience, those files are
already committed into the repository and their rebuild is not required
to build BIND 9 from sources.

configure.ac

index f705ce419a079c45e3c0775974ecacbff49191db..36add64a7e56349e51d340514c5db4293401516f 100644 (file)
@@ -64,9 +64,9 @@ AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_MACRO_DIR([m4])
 
 #
-# Enable maintainer mode by default, but allow to disable it in the CI
+# Enable maintainer mode by default only when building from git repository
 #
-AM_MAINTAINER_MODE([enable])
+AM_MAINTAINER_MODE([m4_ifset([bind_SRCID],[enable],[disable])])
 
 # Set the library versions
 # https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html