build-sys: Add the ability to disable maintainer mode
authorArun Raghavan <arun@arunraghavan.net>
Mon, 15 Oct 2018 03:33:25 +0000 (09:03 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Wed, 16 Jan 2019 04:09:24 +0000 (09:39 +0530)
This allows us to disable automatically updating build system files in
case things change. This is desirable in the common case, but not
necessarily for CI, where we want the ability to take a build directory
as an artifact from one stage to the next (i.e. into a fresh checkout).

configure.ac

index 2512d3c..c45254e 100644 (file)
@@ -28,6 +28,8 @@ AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability subdir-objects silent-rules color-tests dist-xz tar-ustar])
 
+AM_MAINTAINER_MODE([enable])
+
 AS_IF([! test -n "$VERSION"], [
    AC_MSG_ERROR([git-version-gen failed])
 ])