AboutSummaryRefsLogTreeCommitDiffStats
path: root/configure.ac
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2018-03-25 22:36:18 +0200
committerMathieu Lirzin <mthl@gnu.org>2018-03-26 01:44:22 +0200
commit6c4f93371c7d0cd846c4b318e86f3761bf3e6e8c (patch)
tree99d458223d6da1ccd2afcd717d5ebaa79797738d /configure.ac
parent9ce38228e86f292aa612ae5c7737dfceaedceda9 (diff)
downloadmcron-6c4f93371c7d0cd846c4b318e86f3761bf3e6e8c.tar.gz
mcron-6c4f93371c7d0cd846c4b318e86f3761bf3e6e8c.tar.bz2
mcron-6c4f93371c7d0cd846c4b318e86f3761bf3e6e8c.zip
build: Add "maint.mk"
* maint.mk: New maintainer-only Makefile fragment. * Makefile.am: Include it. * configure.ac: Substitute "maint.mk" content when it exists.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fbda198..0bb9262 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,6 +139,12 @@ AC_ARG_WITH(tmp-dir,
AC_MSG_RESULT($CONFIG_TMP_DIR)
AC_SUBST(CONFIG_TMP_DIR)
+# Include the Maintainer's Makefile fragment, if it's here.
+MAINT_MAKEFILE=/dev/null
+AS_IF([test -r "$srcdir/maint.mk"],
+ [MAINT_MAKEFILE="$srcdir/maint.mk"])
+AC_SUBST_FILE([MAINT_MAKEFILE])
+
AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in],
[chmod +x pre-inst-env])
AC_CONFIG_FILES([doc/config.texi