manymanymany-varia-websites/Makefile

10 lines
205 B
Makefile
Raw Normal View History

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 html; \
done