-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (15 loc) · 666 Bytes
/
Makefile
File metadata and controls
22 lines (15 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY = run clean epub epub+pdf
SED_CMD ?= sed
export SED_CMD
run:
bundle exe jekyll serve --incremental
clean:
rm -f full.md full.typ full-with-preamble.typ full-with-preamble.pdf common-lisp-cookbook.epub common-lisp-cookbook.pdf
epub: clean
sbcl --load make-cookbook.lisp --eval '(generate)' --eval '(to-epub)' --eval '(uiop:quit)'
pdf: clean
sbcl --disable-debugger --load make-cookbook.lisp --eval '(generate)' --eval '(to-pdf)' --eval '(uiop:quit)'
sample-pdf: clean
sbcl --load make-cookbook.lisp --eval '(generate)' --eval '(sample-pdf)' --eval '(uiop:quit)'
epub+pdf: epub
sbcl --load make-cookbook.lisp --eval '(to-pdf)' --eval '(uiop:quit)'