more makefile fixes

can't rely on SHELLFLAGS on macOS
This commit is contained in:
Damien Elmes 2020-01-07 18:19:18 +10:00
parent a684ac120f
commit fe18594c50

View File

@ -30,7 +30,8 @@ buildhash:
.PHONY: run .PHONY: run
run: pyenv buildhash run: pyenv buildhash
@. pyenv/bin/activate && \ @set -e && \
. pyenv/bin/activate && \
for dir in $(DEVEL); do \ for dir in $(DEVEL); do \
$(SUBMAKE) -C $$dir develop BUILDFLAGS="$(BUILDFLAGS)"; \ $(SUBMAKE) -C $$dir develop BUILDFLAGS="$(BUILDFLAGS)"; \
done; \ done; \
@ -59,7 +60,8 @@ build-qt:
.PHONY: clean .PHONY: clean
clean: clean-dist clean: clean-dist
@for dir in $(DEVEL); do \ @set -e && \
for dir in $(DEVEL); do \
$(SUBMAKE) -C $$dir clean; \ $(SUBMAKE) -C $$dir clean; \
done done
@ -81,6 +83,7 @@ check: pyenv buildhash
.PHONY: fix .PHONY: fix
fix: fix:
@set -e && \
for dir in $(CHECKABLE); do \ for dir in $(CHECKABLE); do \
$(SUBMAKE) -C $$dir fix; \ $(SUBMAKE) -C $$dir fix; \
done; \ done; \