From: Bernhard Voelker Date: Sun, 24 Sep 2023 16:13:50 +0000 (+0200) Subject: maintainer-makefile: Fix syntax-check rules wrt README. X-Git-Tag: v1.0~769 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b63182ece42f65f1ee6b5290fad2901fb7dbe77;p=thirdparty%2Fgnulib.git maintainer-makefile: Fix syntax-check rules wrt README. * top/maint.mk (sc_readme_link_install): Change the value of the variable in_vc_files to contain a pattern for the README file. (sc_readme_link_copying): Likewise. Previously, the above rules always passed, because the generated list of files was empty. Bug introduced when adding the rules in commit 53b4bf3018. --- diff --git a/ChangeLog b/ChangeLog index 3dabcd0c24..39b043775f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2023-09-24 Bernhard Voelker + + maintainer-makefile: Fix syntax-check rules wrt README. + * top/maint.mk (sc_readme_link_install): Change the value of the + variable in_vc_files to contain a pattern for the README file. + (sc_readme_link_copying): Likewise. + Previously, the above rules always passed, because the generated + list of files was empty. Bug introduced when adding the rules + in commit 53b4bf3018. + 2023-09-22 Bruno Haible striconveh, *vasnprintf, vasnwprintf: Make more virtual-memory friendly. diff --git a/top/maint.mk b/top/maint.mk index 1173b64d10..c0dbc4d9eb 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1375,13 +1375,13 @@ sc_unportable_grep_q: sc_readme_link_install: @require='INSTALL' \ - in_vc_files='$(top_srcdir)/README$$' \ + in_vc_files='^README$$' \ halt='The README file should refer to INSTALL' \ $(_sc_search_regexp) sc_readme_link_copying: @require='COPYING' \ - in_vc_files='$(top_srcdir)/README$$' \ + in_vc_files='^README$$' \ halt='The README file should refer to COPYING[.LESSER]' \ $(_sc_search_regexp)