* top/maint.mk (sc_makefile_DISTCHECK_CONFIGURE_FLAGS): Add.
+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.
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.