'make install': Tweak to work with one-shell-per-logical-line 'make' implementations,
Tested with 'bmake -B'. Found-by: Carsten Hey
This commit is contained in:
parent
72b1abd17d
commit
bb9c407c95
8
Makefile
8
Makefile
@ -18,14 +18,14 @@ install:
|
|||||||
fi > $(SHARE_DIR)/.revision-hash
|
fi > $(SHARE_DIR)/.revision-hash
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@result=0
|
@result=0; \
|
||||||
@for test in highlighters/*; do \
|
for test in highlighters/*; do \
|
||||||
if [ -d $$test/test-data ]; then \
|
if [ -d $$test/test-data ]; then \
|
||||||
echo "Running test $${test##*/}"; \
|
echo "Running test $${test##*/}"; \
|
||||||
zsh -f tests/test-highlighting.zsh "$${test##*/}"; \
|
zsh -f tests/test-highlighting.zsh "$${test##*/}"; \
|
||||||
: $$(( result |= $$? )); \
|
: $$(( result |= $$? )); \
|
||||||
fi \
|
fi \
|
||||||
done
|
done; \
|
||||||
@exit $$result
|
exit $$result
|
||||||
|
|
||||||
.PHONY: all install test
|
.PHONY: all install test
|
||||||
|
Loading…
Reference in New Issue
Block a user