Joel Stanley | f9ada90 | 2018-11-07 12:27:11 +1030 | [diff] [blame] | 1 | # To build: |
| 2 | # $ apt install fonts-linuxlibertine texlive-xetex pandoc |
| 3 | # $ make |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 4 | |
| 5 | # we need xelatex for utf-8 support |
| 6 | tex = xelatex |
Jeremy Kerr | dd1b5c0 | 2016-05-26 11:14:14 +0800 | [diff] [blame] | 7 | tflags = -interaction=nonstopmode -halt-on-error |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 8 | |
| 9 | all: userguide.pdf |
| 10 | |
| 11 | .PHONY: all clean |
| 12 | |
Jeremy Kerr | 8b80cb6 | 2016-05-26 11:02:58 +0800 | [diff] [blame] | 13 | userguide.pdf: userguide/userguide.tex |
Jeremy Kerr | dd1b5c0 | 2016-05-26 11:14:14 +0800 | [diff] [blame] | 14 | $(tex) $(tflags) $^ |
Jeremy Kerr | b065d2c | 2016-05-26 11:15:14 +0800 | [diff] [blame] | 15 | $(tex) $(tflags) $^ |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 16 | |
Adriana Kobylak | 31de159 | 2020-06-24 11:37:10 -0500 | [diff] [blame] | 17 | userguide/userguide.tex: rest-api.tex host-management.tex console.tex architecture/code-update/code-update.tex |
Jeremy Kerr | a729743 | 2016-05-05 12:24:23 +0800 | [diff] [blame] | 18 | |
| 19 | %.tex: %.md |
| 20 | pandoc -o $@ $^ |
| 21 | |
| 22 | clean: |
Andrew Jeffery | b63933f | 2016-05-09 15:33:54 +0930 | [diff] [blame] | 23 | rm -f *.tex userguide.* |