aboutsummaryrefslogtreecommitdiff
path: root/turris-academy/tos3migration/Makefile
blob: 4285339aa5de56267bd4e2a8e1e10c2d2d779ed0 (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|theme|svg|jpg|png|eps)$$" | xargs rm -rf