projects
/
blog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add makefile to generate blog
[blog.git]
/
Makefile
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
index 0000000..
8d478c8
--- /dev/null
+++ b/
Makefile
@@ -0,0
+1,13
@@
+## Makefile to export org in blog file to html
+
+emacs ?= emacs
+
+OUT_DIR=/Users/peli3/Private/blog/_site
+
+all:
+ $(emacs) -Q --batch \
+ -l ./blog.el \
+ index.org \
+ --eval '(org-publish-current-project t)'
+clean:
+ rm -rf _site/*