Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 1 | |
| 2 | # we need xelatex for utf-8 support |
| 3 | tex = xelatex |
| 4 | |
| 5 | all: userguide.pdf |
| 6 | |
| 7 | .PHONY: all clean |
| 8 | |
Jeremy Kerr | 8b80cb6 | 2016-05-26 11:02:58 +0800 | [diff] [blame^] | 9 | userguide.pdf: userguide/userguide.tex |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 10 | $(tex) $^ |
| 11 | |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 12 | userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex |
| 13 | |
| 14 | %.tex: %.md |
| 15 | pandoc -o $@ $^ |
| 16 | |
| 17 | clean: |
Andrew Jeffery | b63933f | 2016-05-09 15:33:54 +0930 | [diff] [blame] | 18 | rm -f *.tex userguide.* |