+2023-06-06 Jose E. Marchesi <jemarch@gnu.org>
+
+ maintainer-makefile: Enforce the GNU Coding Standards in the README.
+ * top/maint.mk (sc_readme_link_install): New rule.
+ (sc_readme_link_copying): Likewise.
+
2023-06-05 Paul Eggert <eggert@cs.ucla.edu>
copy-file-range: support building for older kernels
@prohibit='grep -q' halt="unportable 'grep -q', use >/dev/null instead" \
$(_sc_search_regexp)
+# The GNU Codying standards says that README should refer to both
+# INSTALL and the file that contains the copying conditions. This
+# shall be COPYING for GPL and COPYING.LESSER for LGPL.
+
+sc_readme_link_install:
+ @require='INSTALL' \
+ in_vc_files='$(top_srcdir)/README$$' \
+ halt='The README file should refer to INSTALL' \
+ $(_sc_search_regexp)
+
+sc_readme_link_copying:
+ @require='COPYING' \
+ in_vc_files='$(top_srcdir)/README$$' \
+ halt='The README file should refer to COPYING[.LESSER]' \
+ $(_sc_search_regexp)
+
vc-diff-check:
$(AM_V_GEN)(unset CDPATH; cd $(srcdir) && $(VC) diff) > vc-diffs || :
$(AM_V_at)if test -s vc-diffs; then \