summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Kosarek <matt.kosarek@canonical.com>2026-02-18 17:03:06 -0500
committerMatt Kosarek <matt.kosarek@canonical.com>2026-02-18 17:03:06 -0500
commit59260c4f7a265f1ad4db9e0ee5e469132cdef094 (patch)
tree588cf415f8b819a30090b085d9e32b42836d73ca /Makefile
parent2ef049102f6824a6ab6ae99ee87c115f7608707e (diff)
minor: publishing from public with a Makefile instead of having everything at the toplevel
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..272d645
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+.PHONY: all posts themes copy clean
+
+all: copy
+
+posts:
+ mkdir -p ./public/posts
+ emacs -Q --script publish.el
+
+themes/builddir:
+ meson setup themes/builddir --cross-file themes/emscripten.ini
+
+themes: themes/builddir
+ meson compile -C themes/builddir
+
+copy: posts themes
+ mkdir -p ./public/themes/dist
+ rsync -a themes/dist/ ./public/themes/dist/
+
+clean:
+ rm -rf public/themes