summaryrefslogtreecommitdiff
path: root/documentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
new file mode 100644
index 0000000000..1b063ffa3f
--- /dev/null
+++ b/documentation/Makefile
@@ -0,0 +1,33 @@
+#
+# Makefile for LinuxBIOS 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
+
+