44afc999018ce6d28b5b4b2da0e35e7fbd6cfd12
[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
13         $(emacs) -Q --script blog.el "~/www/html" "true"
14
15 test:
16         $(emaca) -Q --script blog.el "test" "true"
17
18 clean:
19         rm -rf _site/*