blob: 7f6c891a9d4f5e1c6740e257b49eb0ac96a8018a [file] [log] [blame]
Jeremy Kerra7297432016-05-05 12:24:23 +08001
2# we need xelatex for utf-8 support
3tex = xelatex
Jeremy Kerrdd1b5c02016-05-26 11:14:14 +08004tflags = -interaction=nonstopmode -halt-on-error
Jeremy Kerra7297432016-05-05 12:24:23 +08005
6all: userguide.pdf
7
8.PHONY: all clean
9
Jeremy Kerr8b80cb62016-05-26 11:02:58 +080010userguide.pdf: userguide/userguide.tex
Jeremy Kerrdd1b5c02016-05-26 11:14:14 +080011 $(tex) $(tflags) $^
Jeremy Kerrb065d2c2016-05-26 11:15:14 +080012 $(tex) $(tflags) $^
Jeremy Kerra7297432016-05-05 12:24:23 +080013
Jeremy Kerra7297432016-05-05 12:24:23 +080014userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex
15
16%.tex: %.md
17 pandoc -o $@ $^
18
19clean:
Andrew Jefferyb63933f2016-05-09 15:33:54 +093020 rm -f *.tex userguide.*