blob: 78a829a2ef1cf2e4c81cd655107f82a483e3136a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
TEXFLAGS ?= -halt-on-error -output-format pdf -output-directory output
TITLE = Replicant_and_bootloaders
.PHONY: all clean test $(TITLE)_en.pdf medias
all: test
output:
mkdir output
$(TITLE)_en.pdf: output/boot_midas.png output
pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}'
pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}'
output/boot_midas.png: dot/boot_midas.dot output
dot -T png $< > $@
test: $(TITLE)_en.pdf
xdg-open output/$(TITLE).pdf
clean:
rm -rf output
|