Add global publish

This commit is contained in:
Luke Murphy 2020-03-11 16:10:45 +01:00
parent 501ad33abc
commit 6e634a56bd
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
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