summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Kosarek <matt.kosarek@canonical.com>2026-03-11 17:49:05 -0400
committerMatt Kosarek <matt.kosarek@canonical.com>2026-03-11 17:49:05 -0400
commit77b0f69d0c6e555349dd491d7ca209924d119e61 (patch)
tree095cf20002f5df752c04c20af4366588bd7ba32b /Makefile
parentc929a29c728c6799a3f83f5ad5c1c6f99ed516d4 (diff)
Migrate to astroHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 2491e29..b1eedca 100644
--- a/Makefile
+++ b/Makefile
@@ -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