modify org-publish-project
[blog.git] / Makefile
1 ## Makefile to export org in blog file to html
2
3 emacs ?= emacs
4 OUTDIR := ""
5 FORCE := "no"
6
7 all:
8         $(emacs) -Q --script blog.el $(OUTDIR) $(FORCE)
9
10 # used for automation on server
11 update:
12         git pull && $(emacs) -Q --script blog.el "~/www/html" "true" 
13
14 test:
15         $(emaca) -Q --script blog.el "test" "true"
16
17 clean:
18         rm -rf _site/*