diff options
| author | Matt Kosarek <matt.kosarek@canonical.com> | 2026-03-11 17:49:05 -0400 |
|---|---|---|
| committer | Matt Kosarek <matt.kosarek@canonical.com> | 2026-03-11 17:49:05 -0400 |
| commit | 77b0f69d0c6e555349dd491d7ca209924d119e61 (patch) | |
| tree | 095cf20002f5df752c04c20af4366588bd7ba32b /Makefile | |
| parent | c929a29c728c6799a3f83f5ad5c1c6f99ed516d4 (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1,10 +1,6 @@ -.PHONY: all posts themes copy clean +.PHONY: all themes copy-themes build dev clean -all: copy - -posts: - mkdir -p ./public/posts - emacs -Q --script publish.el +all: build themes/builddir: meson setup themes themes/builddir --cross-file themes/emscripten.ini @@ -12,11 +8,17 @@ themes/builddir: themes: themes/builddir meson compile -C themes/builddir -copy: posts themes +copy-themes: themes mkdir -p ./public/themes/dist rsync -a themes/dist/ ./public/themes/dist/ mkdir -p ./public/themes/src/_shaders rsync -a themes/src/_shaders/ ./public/themes/src/_shaders/ +build: copy-themes + npm run build + +dev: + npm run dev + clean: - rm -rf public/themes + rm -rf dist public/themes |
