maint.mk: generalize/improve the tight-scope rule
authorJim Meyering <meyering@redhat.com>
Mon, 23 May 2011 07:12:06 +0000 (09:12 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 23 May 2011 07:12:06 +0000 (09:12 +0200)
commit9df761edc6b29dbe2b7009b15dfe26a296d50a92
tree681f9e4a28c5f02ce9449bb95150b3656272ca99
parent99b313868bb6a7441f762d78252ce418f5ca7fdb
maint.mk: generalize/improve the tight-scope rule

* top/maint.mk: Emit a warning when the test is skipped.
(_gl_TS_dir): Add $(srcdir)/ prefix.
(_gl_TS_function_match): Simplify, rather than trying
to enumerate common types.  Otherwise, it would fail to match an
"extern unsigned char const *" declaration in idutils.
(_gl_TS_extern): Do not endorse use of "XTERN", but do provide
a way to support use of that type of macro.
(_gl_TS_var_match): Simplify regexp.
(_gl_TS_obj_files): New configurable variable.
(_gl_TS_headers): Likewise.
ChangeLog
top/maint.mk