Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6f860
)
tests: fix Makefile so it is portable to gmake 3.x
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 22 Mar 2016 04:01:19 +0000
(
00:01
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 22 Mar 2016 04:01:19 +0000
(
00:01
-0400)
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 <tytso@mit.edu>
tests/Makefile.in
patch
|
blob
|
history
diff --git
a/tests/Makefile.in
b/tests/Makefile.in
index
d984551
..
cba1dad
100644
(file)
--- 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 $@