'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:
Daniel Shahaf 2015-10-20 00:31:40 +00:00
parent 72b1abd17d
commit bb9c407c95

View File

@ -18,14 +18,14 @@ install:
fi > $(SHARE_DIR)/.revision-hash
test:
@result=0
@for test in highlighters/*; do \
@result=0; \
for test in highlighters/*; do \
if [ -d $$test/test-data ]; then \
echo "Running test $${test##*/}"; \
zsh -f tests/test-highlighting.zsh "$${test##*/}"; \
: $$(( result |= $$? )); \
fi \
done
@exit $$result
done; \
exit $$result
.PHONY: all install test