aboutsummaryrefslogtreecommitdiff
path: root/2018-meetandcode/makefile
blob: 87176ff3266376362176569ebe385157c60cd6e5 (plain)
1
2
3
4
5
6
7
8
9
10
FILE=pres

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

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

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