X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=Makefile;h=f1f4d1260148a3ed15637b0d0da477844ae0c729;hb=323ccbeededf2954ddeb3e14ff68a275ccb231ff;hp=ce75237183ef757e5e3066104a1df0db09d31638;hpb=c6ccbad44780ea0fd5403a728068b398510c11e0;p=blog.git diff --git a/Makefile b/Makefile index ce75237..f1f4d12 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,18 @@ ## Makefile to export org in blog file to html 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/*