aboutsummaryrefslogtreecommitdiff
path: root/stanzione/Makefile
blob: 3757fc9e9de6a46adb1f6acfd9d22c3d4ab6b90b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.POSIX:
.SUFFIXES: .tex .pdf

PDFS = mm1.pdf mm2.pdf mm3.pdf

PDFLATEX = pdflatex
BIBER = biber

all: $(PDFS)

$(PDFS): sources.bib

clean:
	rm -f *.bbl *.blg *.log *.aux *.pdf *.run.xml *.bcf *.out

.tex.pdf:
	$(PDFLATEX) $<
	$(BIBER) $*
	$(PDFLATEX) $<
	$(PDFLATEX) $<

mm1.pdf: yang.jpg

mm3.pdf: zimbardo.jpg

yang.jpg:
	curl -o yang.jpg "https://upload.wikimedia.org/wikipedia/commons/7/7f/Yang-single_%28restoration%29.jpg"

zimbardo.jpg: zimbardo.webp
	magick zimbardo.webp zimbardo.jpg