summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Geyer <philipp@geyer.co.uk>2023-10-25 22:25:56 +0200
committerPhilipp Geyer <philipp@geyer.co.uk>2023-10-25 22:25:56 +0200
commit2aaaac0ae34ec21a81a33796cd4cf27088da156c (patch)
tree44901d4ce8f0364526ad9cd9970ca1096bb1ba1f /Makefile
parent971337d54fc59f844d67e8882fc3435321c36bd3 (diff)
Making some editsHEADlive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bffe617..ed04167 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,14 @@
.phony: site site-local run publish
site:
+ rm -rf output
emacs --script publish.el
+ ln -sfv ../static output/static
site-local:
CONFIG=local emacs --script publish.el
run: site-local
+ mkdir -p output
rm -f output/static
ln -sfv ../static output/static
mongoose-server -d output