Update remote update
[blog.git] / Makefile
index 1f81177..a302845 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,15 @@
 
 emacs ?= emacs
 OUTDIR := ""
+FORCE := "no"
 
 all:
-       $(emacs) -Q --script blog.el $(OUTDIR)
+       $(emacs) -Q --script blog.el $(OUTDIR) $(FORCE)
+
+# used for automation on server
+update:
+       git pull
+       $(emacs) -Q --script blog.el "~/www/html" "true"
 
 clean:
        rm -rf _site/*