blob: 9e5cfa7921e42bb5046ca4daea753aea2c93a243 [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 Kerra7297432016-05-05 12:24:23 +080012
Jeremy Kerra7297432016-05-05 12:24:23 +080013userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex
14
15%.tex: %.md
16 pandoc -o $@ $^
17
18clean:
Andrew Jefferyb63933f2016-05-09 15:33:54 +093019 rm -f *.tex userguide.*