xref: /openbmc/docs/Makefile (revision 6339b282)
1# To build:
2#  $ apt install fonts-linuxlibertine texlive-xetex pandoc
3#  $ make
4
5# we need xelatex for utf-8 support
6tex = xelatex
7tflags = -interaction=nonstopmode -halt-on-error
8
9all: userguide.pdf
10
11.PHONY: all clean
12
13userguide.pdf: userguide/userguide.tex
14	$(tex) $(tflags) $^
15	$(tex) $(tflags) $^
16
17userguide/userguide.tex: rest-api.tex host-management.tex console.tex architecture/code-update/code-update.tex
18
19%.tex: %.md
20	pandoc -o $@ $^
21
22clean:
23	rm -f *.tex userguide.*
24