manymanymany-varia-websites/Makefile
2020-03-11 16:27:00 +01:00

10 lines
208 B
Makefile

SITES ?= $$(find . -maxdepth 2 -name "Makefile" -not -path "./Makefile" | xargs -I {} dirname {})
default: publish
.PHONY: publish
publish:
for path in $(SITES) ; do \
cd $$path && make publish; \
done