makefile 682 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
14
15
16
17
18
19
20
21
22

examples/2h_fake.pdf: examples/2h_fake.tex
	cd examples; latexmk --lualatex 2h_fake.tex
#
#examples/tabular.pdf: examples/tabular.tex
#	cd examples; latexmk --lualatex tabular.tex
#
#examples/figure.pdf: examples/figure.tex
#	cd examples; latexmk --lualatex figure.tex
#
#examples/preamble.pdf: examples/preamble.tex
#	cd examples; latexmk --lualatex preamble.tex