summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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