aboutsummaryrefslogtreecommitdiff
path: root/stanzione/Makefile
blob: e7685d447bc32649ffb01679fabe0b5588880de1 (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 rev1.pdf rev2.pdf rev3.pdf rev4.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) -draftmode $<
	$(BIBER) $*
	$(PDFLATEX) -draftmode $<
	$(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