X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=Makefile;h=44afc999018ce6d28b5b4b2da0e35e7fbd6cfd12;hb=f48365fecd326c4cf78783c60ca46b84e8dd30a6;hp=ce75237183ef757e5e3066104a1df0db09d31638;hpb=c6ccbad44780ea0fd5403a728068b398510c11e0;p=blog.git diff --git a/Makefile b/Makefile index ce75237..44afc99 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,19 @@ ## 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/*