blob: bd88ef662faa9d2850994f8002d698436f775fd7 [file] [log] [blame]
Joel Stanleyf9ada902018-11-07 12:27:11 +10301# To build:
2# $ apt install fonts-linuxlibertine texlive-xetex pandoc
3# $ make
Jeremy Kerra7297432016-05-05 12:24:23 +08004
5# we need xelatex for utf-8 support
6tex = xelatex
Jeremy Kerrdd1b5c02016-05-26 11:14:14 +08007tflags = -interaction=nonstopmode -halt-on-error
Jeremy Kerra7297432016-05-05 12:24:23 +08008
9all: userguide.pdf
10
11.PHONY: all clean
12
Jeremy Kerr8b80cb62016-05-26 11:02:58 +080013userguide.pdf: userguide/userguide.tex
Jeremy Kerrdd1b5c02016-05-26 11:14:14 +080014 $(tex) $(tflags) $^
Jeremy Kerrb065d2c2016-05-26 11:15:14 +080015 $(tex) $(tflags) $^
Jeremy Kerra7297432016-05-05 12:24:23 +080016
Adriana Kobylak31de1592020-06-24 11:37:10 -050017userguide/userguide.tex: rest-api.tex host-management.tex console.tex architecture/code-update/code-update.tex
Jeremy Kerra7297432016-05-05 12:24:23 +080018
19%.tex: %.md
20 pandoc -o $@ $^
21
22clean:
Andrew Jefferyb63933f2016-05-09 15:33:54 +093023 rm -f *.tex userguide.*