1 ## Makefile to export org in blog file to html
9 $(emacs) -Q --script blog.el $(OUTDIR) $(FORCE)
11 # used for automation on server
13 git pull && $(emacs) -Q --script blog.el "~/www/html" "true"
16 $(emacs) -Q --batch -l my-publish.el index.org \
17 --eval '(setq debug-on-error t)' \
18 --eval '(blog-setup-project-alist "$(BLOGDIR)" "$(OUTDIR)")' \
19 --eval '(org-publish-current-project)'
21 # test will force publishing all files in the porject
23 $(emacs) -Q --batch -l my-publish.el index.org \
24 --eval '(setq debug-on-error t)' \
25 --eval '(blog-setup-project-alist "$(BLOGDIR)")' \
26 --eval '(org-publish-current-project t)'