Update to this very old document
[coreboot.git] / documentation / Makefile
1 #
2 # Makefile for coreboot paper.
3 # hacked together by Stefan Reinauer <stepan@openbios.org>
4 #
5
6 PDFLATEX=pdflatex -t a4
7
8 FIGS=codeflow.pdf hypertransport.pdf
9
10 all: LinuxBIOS-AMD64.pdf 
11
12
13 codeflow.pdf: codeflow.svg
14         svg2pdf $< $@
15
16 hypertransport.pdf: hypertransport.svg
17         svg2pdf $< $@
18
19 LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex 
20         # 2 times to make sure we have a current toc.
21         $(PDFLATEX) LinuxBIOS-AMD64.tex
22         $(PDFLATEX) LinuxBIOS-AMD64.tex
23
24 LinuxBIOS-AMD64.pdf: $(FIGS) LinuxBIOS-AMD64.tex LinuxBIOS-AMD64.toc
25         $(PDFLATEX) LinuxBIOS-AMD64.tex
26
27 clean:
28         rm -f *.aux *.idx *.log *.toc *.out $(FIGS)
29
30 distclean: clean
31         rm -f LinuxBIOS-AMD64.pdf
32         
33