aboutsummaryrefslogtreecommitdiff
path: root/2020-linuxdays/makefile
blob: a90bd93565880252889e1cfd71ea447ab87eca44 (plain)
1
2
3
4
5
6
7
8
9
10
FILE=pres

$(FILE).pdf: $(FILE).tex $(patsubst %.svg,%.pdf,$(wildcard *.svg))
	lualatex -shell-escape $<

%.pdf: %.svg
	inkscape -D -z --file=$< --export-pdf=$@ --export-latex

clean:
	ls | grep -v -E "($(FILE).tex|makefile|scheme|svg|png|jpg|eps)$$" | xargs rm -rf