summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 37c9094..bffe617 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
-.phony: site
+.phony: site site-local run publish
site:
emacs --script publish.el
+
+site-local:
+ CONFIG=local emacs --script publish.el
+
+run: site-local
+ rm -f output/static
+ ln -sfv ../static output/static
+ mongoose-server -d output
+
+publish: site
+ ./upload.sh