# HG changeset patch # User Simon Josefsson # Date 1271331861 -7200 # Node ID 80668c656e530f5de81240b73b6ad567fc0539ad # Parent 648ae9e5bddaff98e65d340b49fa33ef9bb04d85 top/maint.mk (sc_texinfo_acronym): Improve filename regexp. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -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 --git a/top/maint.mk b/top/maint.mk --- a/top/maint.mk +++ b/top/maint.mk @@ -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)