correct travic ci file
[blog.git] / Makefile
index 8d478c8..1f81177 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,10 @@
 ## Makefile to export org in blog file to html
 
 emacs ?= emacs
-
-OUT_DIR=/Users/peli3/Private/blog/_site
+OUTDIR := ""
 
 all:
-       $(emacs) -Q --batch \
-               -l ./blog.el \
-               index.org \
-               --eval '(org-publish-current-project t)'
+       $(emacs) -Q --script blog.el $(OUTDIR)
+
 clean:
        rm -rf _site/*