From: Stefano Lattarini Date: Wed, 4 Jan 2012 09:09:25 +0000 (+0100) Subject: maintcheck: avoid false positive in sc_tests_plain_make X-Git-Tag: v1.11.2b~10^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e23a89ed6192cea452e3103edfe464129afe6ef9;p=thirdparty%2Fautomake.git maintcheck: avoid false positive in sc_tests_plain_make * Makefile.am (sc_tests_plain_make): Ensure to only match full `make' words. Avoid false positive in `silent-nested-vars.test'. --- diff --git a/Makefile.am b/Makefile.am index ed01bbb00..b2cba6229 100644 --- a/Makefile.am +++ b/Makefile.am @@ -401,7 +401,7 @@ sc_tests_make_without_am_makeflags: ## Tests should never call make directly. sc_tests_plain_make: - @if grep -v '^#' $(srcdir)/tests/*.test | grep ':[ ]*make'; then \ + @if grep -v '^#' $(srcdir)/tests/*.test | $(EGREP) ':[ ]*make( |$$)'; then \ echo 'Do not run "make" in the above tests. Use "$$MAKE" instead.' 1>&2; \ exit 1; \ fi