From 8ef71d873c6c96bbe868efe0e351020763edb2b6 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 22 Mar 2016 00:01:19 -0400 Subject: [PATCH] tests: fix Makefile so it is portable to gmake 3.x In commit 0355d6d047884f5b we used a Makefile shell assignment syntax which is compatible with pmake and gmake 4.x, but which breaks on gmake 3.x. So only use the pmake-compatible construction if we are not using GNU make. Signed-off-by: Theodore Ts'o --- tests/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.in b/tests/Makefile.in index d984551..cba1dad 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -37,7 +37,8 @@ mke2fs.conf: $(srcdir)/mke2fs.conf.in always_run: -TESTS != echo $(srcdir)/[a-z]_* +@ifGNUmake@TESTS=$(wildcard $(srcdir)/[a-z]_*) +@ifNotGNUmake@TESTS != echo $(srcdir)/[a-z]_* $(TESTS):: test_one always_run @./test_one $@ -- 1.8.3.1