top/maint.mk (sc_texinfo_acronym): Improve filename regexp.
authorSimon Josefsson <simon@josefsson.org>
Thu, 15 Apr 2010 11:44:21 +0000 (13:44 +0200)
committerSimon Josefsson <simon@josefsson.org>
Thu, 15 Apr 2010 11:44:21 +0000 (13:44 +0200)
ChangeLog
top/maint.mk

index 94e49f9..ccc17d9 100644 (file)
--- 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+
index 6942730..4d87b4a 100644 (file)
@@ -660,9 +660,10 @@ sc_GFDL_version:
          $(_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)