sicp/Makefile

27 lines
383 B
Makefile
Raw Normal View History

2014-05-19 06:15:05 +00:00
.PHONY: default all clean org org-code jekyll serve
2014-05-19 04:22:42 +00:00
2014-05-19 05:23:07 +00:00
default: all
all: org org-code jekyll
2014-05-19 04:22:42 +00:00
2014-05-19 06:15:05 +00:00
clean:
rm -rf _site \
_org \
*.scheme
2014-05-19 04:22:42 +00:00
org:
emacs --batch -u ${USER} -l org-publish.el
2014-05-19 05:23:07 +00:00
org-code: *.org
for org in $?; do \
emacs --batch -u ${USER} \
--eval "(require 'org)" \
--eval "(org-babel-tangle-file \"$$org\")" ; \
done
2014-05-19 04:22:42 +00:00
jekyll:
jekyll build
serve:
jekyll serve