diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
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 |
