1
0
Fork 0
www/Makefile

17 lines
288 B
Makefile
Raw Permalink Normal View History

2023-09-11 22:38:24 +00:00
.PHONY: *
build:
./build.py
2023-09-17 05:01:01 +00:00
pagefind --site out/
clean:
test -e out && rm -rf out
2023-09-11 22:38:24 +00:00
watch:
2023-09-11 23:17:14 +00:00
while sleep 1; do find src/ build.py Makefile | entr -d make build; done
2023-09-11 22:38:24 +00:00
serve:
python -m http.server --directory out/
2023-09-12 03:07:12 +00:00
publish:
rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com