summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e12cdc87bbb69542a16dc4955d0e2ba4a8ed327a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# To build:
#  $ apt install fonts-linuxlibertine texlive-xetex pandoc
#  $ make

# we need xelatex for utf-8 support
tex = xelatex
tflags = -interaction=nonstopmode -halt-on-error

all: userguide.pdf

.PHONY: all clean

userguide.pdf: userguide/userguide.tex
	$(tex) $(tflags) $^
	$(tex) $(tflags) $^

userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update/code-update.tex

%.tex: %.md
	pandoc -o $@ $^

clean:
	rm -f *.tex userguide.*
OpenPOWER on IntegriCloud