update options for pages
[blog.git] / Makefile
index 1f81177..f1f4d12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,17 @@
 
 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" 
+
+test:
+       $(emaca) -Q --script blog.el "test" "true"
 
 clean:
        rm -rf _site/*