1
0
www/Makefile

17 lines
288 B
Makefile

.PHONY: *
build:
./build.py
pagefind --site out/
clean:
test -e out && rm -rf out
watch:
while sleep 1; do find src/ build.py Makefile | entr -d make build; done
serve:
python -m http.server --directory out/
publish:
rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com