aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-15 11:23:21 +0000
committerAdam Stück <adam@adast.dk>2023-12-15 12:00:01 +0000
commit57abab7d0c27161e909d07498c86012c82db246e (patch)
treed85b423672f55a3287cd1fc10fffa150e5500b94 /Makefile
parentf205d2e8787e58b73576245f03d44b7d791c471b (diff)
overhaul: switch from ssg to barf
- simplify and polish most pages - add /colophon, /now, /contact - drop /resume-da - drop javascript - patch barf to create symlinks for /rss.xml and /feed to /atom.xml
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b16a580
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+build:
+ sh ./barf
+ rsync -r public/ build/public
+
+clean:
+ rm -rf build/*
+
+watch:
+ while true; do \
+ ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\
+ done
+
+.PHONY: build clean watch