From: Theodore Ts'o Date: Tue, 22 Mar 2016 04:01:19 +0000 (-0400) Subject: tests: fix Makefile so it is portable to gmake 3.x X-Git-Tag: v1.43.1~11^2~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8ef71d873c6c96bbe868efe0e351020763edb2b6;p=tools%2Fe2fsprogs.git 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 --- 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 $@