blob: f0e5831d29028c4d4d56e5f89e9b3a964e994d41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
TEXFLAGS ?= -halt-on-error -output-format pdf -output-directory output
TITLE = Smartphones_freedom_status_2023
IMAGES := \
output/i9300_hardware.png \
.PHONY: all clean test medias
all: output/$(TITLE).pdf
output:
mkdir -p output
output/$(TITLE).pdf: output $(TITLE).tex $(IMAGES)
pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}'
pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}'
output/%.png: dot/%.dot output
dot -T png $< > $@
output/i9300_hardware.png: ../../common/images/i9300_hardware.svg
gm convert $< $@
clean:
rm -rf output
|