Mercurial > hg > octave-lojdl > gnulib-hg
changeset 13232:80668c656e53
top/maint.mk (sc_texinfo_acronym): Improve filename regexp.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Thu, 15 Apr 2010 13:44:21 +0200 |
parents | 648ae9e5bdda |
children | 2376509f2722 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-15 Jim Meyering <meyering@redhat.com> + + * top/maint.mk (sc_texinfo_acronym): Improve filename regexp, and + make it configurable via texinfo_suffix_re_. + 2010-04-14 Eric Blake <eblake@redhat.com> strtok_r: relax license to LGPLv2+
--- 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)