summaryrefslogtreecommitdiff
path: root/documentation/Makefile
blob: 98914914dd1cc63267147c30aeed53c5e98dd040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Makefile for coreboot paper.
# hacked together by Stefan Reinauer <stepan@openbios.org>
#

PDFLATEX=pdflatex -t a4

FIGS=codeflow.pdf hypertransport.pdf

all: LinuxBIOS-AMD64.pdf 


codeflow.pdf: codeflow.eps
	epstopdf $< -o=$@

hypertransport.pdf: hypertransport.eps
	epstopdf $< -o=$@

LinuxBIOS-AMD64.toc: $(FIGS) LinuxBIOS-AMD64.tex 
	# 2 times to make sure we have a current toc.
	$(PDFLATEX) LinuxBIOS-AMD64.tex
	$(PDFLATEX) LinuxBIOS-AMD64.tex

LinuxBIOS-AMD64.pdf: $(FIGS) LinuxBIOS-AMD64.tex LinuxBIOS-AMD64.toc
	$(PDFLATEX) LinuxBIOS-AMD64.tex

clean:
	rm -f *.aux *.idx *.log *.toc *.out $(FIGS)

distclean: clean
	rm -f LinuxBIOS-AMD64.pdf