'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
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user