blob: 82ec1c3c4d3a9d1b72d8cb9f935f392695323a9e [file] [log] [blame]
Jeremy Kerra7297432016-05-05 12:24:23 +08001
2# we need xelatex for utf-8 support
3tex = xelatex
4
5all: userguide.pdf
6
7.PHONY: all clean
8
9userguide.pdf: userguide/userguide.tex
10 $(tex) $^
11
12userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex
13
14%.tex: %.md
15 pandoc -o $@ $^
16
17clean:
18 rm -f *.aux *.tex *.out *.pdf