X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=Makefile;h=a302845e739fd0bc8ba15ceaf332dafc0d12ec56;hb=e2b735f8dd1f2e338aefc67f0701b6c578927956;hp=1f81177589b6d0b599419ea4ac82d5bda09e79d6;hpb=00b68c5fd31be120536c0d2228bf7fbd04bdb316;p=blog.git diff --git a/Makefile b/Makefile index 1f81177..a302845 100644 --- 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/*