0.9.17.10: async unwind for specials
[sbcl.git] / doc / internals / Makefile
1 .PHONY: top clean html all
2
3 all: sbcl-internals.pdf sbcl-internals.info
4
5 top:
6         sh make-top.sh
7
8 info: top
9         makeinfo sbcl-internals.texinfo
10
11 %.eps: %.dot
12         dot -Tps -Gsize="5,5" -Gratio=compress -Gconcentrate=true $< > $@
13
14 %.png: %.dot
15         dot -Tpng -Gsize="5,5" -Gratio=compress -Gconcentrate=true $< > $@
16
17 %.txt: %.dot
18         # FIXME.
19         dot -Tcanon $< > $@
20
21 %.pdf: %.eps
22         epstopdf $< > $@
23
24 sbcl-internals.pdf: top $(patsubst %.dot,%.pdf,$(wildcard *.dot)) *.texinfo
25         texi2pdf sbcl-internals.texinfo
26
27 sbcl-internals.info: top $(patsubst %.dot,%.txt,$(wildcard *.dot)) *.texinfo
28
29 html: html-stamp
30
31 html-stamp: top $(patsubst %.dot,%.png,$(wildcard *.dot)) *.texinfo
32         makeinfo --html sbcl-internals.texinfo 
33         # FIXME
34         cp -f *.png sbcl-internals
35         touch html-stamp
36 clean: 
37         rm -rf *.include *.info *.pdf *~ *.cp *.fn *.ky *.log *.pg *.toc \
38                 *.tp *.vr *.aux *.eps *.png *.dvi *.ps *.txt *.fns \
39                 html-stamp sbcl-internals/