summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2022-08-16 17:26:56 +0200
committerSimon Josefsson <simon@josefsson.org>2022-08-16 17:27:12 +0200
commitdec7194206fc1ec7db0a94472d8ece58025040c6 (patch)
tree48465b022d27239551525fc1da08db429f9741ed
parent8095be58b875cbe9d712dcb9f7bb1d7b4a6c38b2 (diff)
downloadgnulib-dec7194206fc1ec7db0a94472d8ece58025040c6.tar.gz
maintainer-makefile: Check for incorrect DISTCHECK_CONFIGURE_FLAGS usage.
* top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.
-rw-r--r--ChangeLog6
-rw-r--r--top/maint.mk6
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c38798745d..b639d1709d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-16 Simon Josefsson <simon@josefsson.org>
+
+ maintainer-makefile: Check for incorrect DISTCHECK_CONFIGURE_FLAGS
+ usage.
+ * top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.
+
2022-08-16 Bruno Haible <bruno@clisp.org>
tempname: Add tests.
diff --git a/top/maint.mk b/top/maint.mk
index c1fdf9ca2c..5745d5831d 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1256,6 +1256,12 @@ sc_makefile_path_separator_check:
halt=$(msg) \
$(_sc_search_regexp)
+sc_makefile_DISTCHECK_CONFIGURE_FLAGS:
+ @prohibit='^DISTCHECK_CONFIGURE_FLAGS' \
+ in_vc_files='akefile|\.mk$$' \
+ halt="use AM_DISTCHECK_CONFIGURE_FLAGS" \
+ $(_sc_search_regexp)
+
# Check that 'make alpha' will not fail at the end of the process,
# i.e., when pkg-M.N.tar.xz already exists (either in "." or in ../release)
# and is read-only.