1 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 *.tex userguide.* 19