aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-19 13:19:41 -0500
committerBradley Taunt <bt@btxx.org>2024-01-19 13:19:41 -0500
commit85f2c8d0d69ac0195bf6a20e396077dee0e9aefa (patch)
tree4f3bd878e20e7e057f91da6632a215b004d10c49 /makefile
Initial commit for new cgit platform
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..3e8feee
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
+.DEFAULT: build
+
+.PHONY: build
+build:
+ bash pblog.sh > _output/feed.xml
+ xsltproc _output/feed.xml > _output/blog/index.html
+
+serve: build
+ python3 -m http.server --directory _output/
+
+clean:
+ rm _output/*