* syntax-checks.mk ($(sc_renamed_variables_rules)): Only match the "blacklisted" old variable names when they constitute a single word.
Signed-off-by: Stefano Lattarini <[email protected]> --- syntax-checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax-checks.mk b/syntax-checks.mk index 5a5b6fe..ada7fab 100644 --- a/syntax-checks.mk +++ b/syntax-checks.mk @@ -338,7 +338,7 @@ $(sc_renamed_variables_rules): sc_no_% : $(srcdir)/automake.in \ $(srcdir)/doc/*.texi \ "; \ - if grep -F '$*' $$files; then \ + if grep -E '\b$*\b' $$files; then \ echo "'\$$($*)' is obsolete and no more used." >&2; \ echo "You should use '$(modern.$*)' instead." >&2; \ exit 1; \ -- 1.7.9.5
