# HG changeset patch # User Simon Josefsson # Date 1271331861 -7200 # Node ID 80668c656e530f5de81240b73b6ad567fc0539ad # Parent 648ae9e5bddaff98e65d340b49fa33ef9bb04d85 top/maint.mk (sc_texinfo_acronym): Improve filename regexp. diff -r 648ae9e5bdda -r 80668c656e53 ChangeLog --- a/ChangeLog Wed Apr 14 13:03:38 2010 -0600 +++ b/ChangeLog Thu Apr 15 13:44:21 2010 +0200 @@ -1,3 +1,8 @@ +2010-04-15 Jim Meyering + + * top/maint.mk (sc_texinfo_acronym): Improve filename regexp, and + make it configurable via texinfo_suffix_re_. + 2010-04-14 Eric Blake strtok_r: relax license to LGPLv2+ diff -r 648ae9e5bdda -r 80668c656e53 top/maint.mk --- a/top/maint.mk Wed Apr 14 13:03:38 2010 -0600 +++ b/top/maint.mk Thu Apr 15 13:44:21 2010 +0200 @@ -660,9 +660,10 @@ $(_sc_search_regexp) # Don't use Texinfo @acronym{} as it is not a good idea. +texinfo_suffix_re_ ?= \\.(txi|texi(nfo)?)$$ sc_texinfo_acronym: - @prohibit='@acronym{' \ - in_vc_files='\.texi$$' \ + @prohibit='@acronym\{' \ + in_vc_files='$(texinfo_suffix_re_)' \ halt='found use of Texinfo @acronym{}' \ $(_sc_search_regexp)