From 59260c4f7a265f1ad4db9e0ee5e469132cdef094 Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Wed, 18 Feb 2026 17:03:06 -0500 Subject: minor: publishing from public with a Makefile instead of having everything at the toplevel --- Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.1