makefile 498 Bytes
Newer Older
1
2
3
#!/bin/make -f

EXAMPLES = examples/2h_fake.pdf examples/tabular.pdf examples/figure.pdf examples/preamble.pdf
4
EXAMPLE_INPUTS = $(wildcard examples/*.tex)
5

6
latex.pdf: latex.tex $(EXAMPLES) $(EXAMPLE_INPUTS)
7
8
	latexmk -lualatex latex.tex

9
notes.pdf: latex.tex $(EXAMPLES) $(EXAMPLE_INPUTS)
10
	latexmk -lualatex notes.tex
11
12
13

examples/2h_fake.pdf: examples/2h_fake.tex
	cd examples; latexmk --lualatex 2h_fake.tex
14
15
16

examples/preamble.pdf: examples/preamble.tex
	cd examples; latexmk --lualatex preamble.tex