automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {maint} maintcheck: avoid false positive in sc_tests_plain_make


From: Stefano Lattarini
Subject: [FYI] {maint} maintcheck: avoid false positive in sc_tests_plain_make
Date: Wed, 4 Jan 2012 10:11:10 +0100

* Makefile.am (sc_tests_plain_make): Ensure to only match full
`make' words.  Avoid false positive in `silent-nested-vars.test'.
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index ed01bbb..b2cba62 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
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]