mirror of
https://github.com/correl/sicp.git
synced 2024-11-23 11:09:57 +00:00
26 lines
383 B
Makefile
26 lines
383 B
Makefile
.PHONY: default all clean org org-code jekyll serve
|
|
|
|
default: all
|
|
|
|
all: org org-code jekyll
|
|
|
|
clean:
|
|
rm -rf _site \
|
|
_org \
|
|
*.scheme
|
|
|
|
org:
|
|
emacs --batch -u ${USER} -l org-publish.el
|
|
|
|
org-code: *.org
|
|
for org in $?; do \
|
|
emacs --batch -u ${USER} \
|
|
--eval "(require 'org)" \
|
|
--eval "(org-babel-tangle-file \"$$org\")" ; \
|
|
done
|
|
|
|
jekyll:
|
|
jekyll build
|
|
|
|
serve:
|
|
jekyll serve
|