]> Savannah Git Hosting - gnulib.git/commitdiff
maintainer-makefile: Check for incorrect DISTCHECK_CONFIGURE_FLAGS usage.
authorSimon Josefsson <simon@josefsson.org>
Tue, 16 Aug 2022 15:26:56 +0000 (17:26 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 16 Aug 2022 15:27:12 +0000 (17:27 +0200)
* top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.

ChangeLog
top/maint.mk

index c38798745dc862ad811b83820a9c6c1df7a64218..b639d1709d478e1a8a9baa94f16ff52b5c86cb50 100644 (file)
--- 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.
index c1fdf9ca2c8cc2d471127e151c2b86e9f80aabed..5745d5831da838f58940ee69dcabe57c93d0962d 100644 (file)
@@ -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.