From: Eric Blake Date: Thu, 2 Feb 2012 21:11:40 +0000 (-0700) Subject: maint.mk: also prohibit lower-case @var@ X-Git-Tag: v0.1~1166 X-Git-Url: http://erislabs.net/gitweb/?p=gnulib.git;a=commitdiff_plain;h=103bc342815e9ae99925ad57cfe830779222777b maint.mk: also prohibit lower-case @var@ * top/maint.mk (sc_makefile_at_at_check): Enhance check to cover lower case, like @top_srcdir@. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index 210bd10bc..acc2e4ff1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-07 Eric Blake + + maint.mk: also prohibit lower-case @var@ + * top/maint.mk (sc_makefile_at_at_check): Enhance check to cover + lower case, like @top_srcdir@. + 2012-02-04 Eric Blake canonicalize: avoid uninitialized memory use diff --git a/top/maint.mk b/top/maint.mk index be7ba490e..1dd649351 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1015,8 +1015,8 @@ update-NEWS-hash: NEWS # setting this to ' && !/PRAGMA_SYSTEM_HEADER/'. _makefile_at_at_check_exceptions ?= sc_makefile_at_at_check: - @perl -ne '/\@[A-Z_0-9]+\@/' \ - -e ' && !/([A-Z_0-9]+)\s+=.*\@\1\@$$/' \ + @perl -ne '/\@\w+\@/' \ + -e ' && !/(\w+)\s+=.*\@\1\@$$/' \ -e ''$(_makefile_at_at_check_exceptions) \ -e 'and (print "$$ARGV:$$.: $$_"), $$m=1; END {exit !$$m}' \ $$($(VC_LIST_EXCEPT) | grep -E '(^|/)(Makefile\.am|[^/]+\.mk)$$') \