From 6c4f93371c7d0cd846c4b318e86f3761bf3e6e8c Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 25 Mar 2018 22:36:18 +0200 Subject: build: Add "maint.mk" * maint.mk: New maintainer-only Makefile fragment. * Makefile.am: Include it. * configure.ac: Substitute "maint.mk" content when it exists. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.3