mirror of
https://github.com/correl/sicp.git
synced 2024-11-27 03:00:18 +00:00
21 lines
333 B
Makefile
21 lines
333 B
Makefile
.PHONY: default all org org-code jekyll serve
|
|
|
|
default: all
|
|
|
|
all: org org-code jekyll
|
|
|
|
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
|