1
0
Fork 0
www/Makefile

17 lines
318 B
Makefile

.PHONY: *
build:
./build.py
pagefind --site out/
clean:
test -e out && rm -rf out
watch:
while inotifywait -r -e modify -e move -e create -e delete build.py Makefile src/; do make build; done
serve:
python -m http.server --directory out/
publish:
rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com