blob: 1c01d577b0c3e26446aa5f6bd20abeb45cd33e39 [file] [log] [blame]
Stefan Reinauer37414ca2003-11-22 15:15:47 +00001#
Uwe Hermannd2a5a5a2009-04-18 14:18:20 +00002# Makefile for coreboot paper.
Stefan Reinauer37414ca2003-11-22 15:15:47 +00003# hacked together by Stefan Reinauer <stepan@openbios.org>
4#
5
6PDFLATEX=pdflatex -t a4
7
8FIGS=codeflow.pdf hypertransport.pdf
9
10all: LinuxBIOS-AMD64.pdf
11
12
Stefan Reinauerebf25892009-04-21 21:45:11 +000013codeflow.pdf: codeflow.svg
14 svg2pdf $< $@
Stefan Reinauer37414ca2003-11-22 15:15:47 +000015
Stefan Reinauerebf25892009-04-21 21:45:11 +000016hypertransport.pdf: hypertransport.svg
17 svg2pdf $< $@
Stefan Reinauer37414ca2003-11-22 15:15:47 +000018
19LinuxBIOS-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
24LinuxBIOS-AMD64.pdf: $(FIGS) LinuxBIOS-AMD64.tex LinuxBIOS-AMD64.toc
25 $(PDFLATEX) LinuxBIOS-AMD64.tex
26
27clean:
28 rm -f *.aux *.idx *.log *.toc *.out $(FIGS)
29
30distclean: clean
31 rm -f LinuxBIOS-AMD64.pdf
32
33