X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=Makefile;h=f1f4d1260148a3ed15637b0d0da477844ae0c729;hb=f3562da7e39d6a886cc1db5ade3302b18175b68a;hp=5afe39385bbee332c8b9cb687e533b8bfa0430e9;hpb=b7bab651a4bc149d1e5eb2e4b78e3f1befe27a84;p=blog.git diff --git a/Makefile b/Makefile index 5afe393..f1f4d12 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +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 $(OUTDIR) + git pull && $(emacs) -Q --script blog.el "~/www/html" "true" + +test: + $(emaca) -Q --script blog.el "test" "true" clean: rm -rf _site/*