12 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
14 o= >$@.new && mv -f $@.new $@
16 all: slides.pdf talk.ps
19 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
21 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
24 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
25 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D-60 <$@.1 $o
27 bck-lifetimes.ps: bck-err.txt.eps
28 macros.ps: serde-example.txt.eps macro-rules-example.txt.eps
29 borrow-mut.ps: borrow-mut-example.txt.eps
30 dangling.ps: dangling.txt.eps dangling-err.txt.eps
31 borrow-nonmut.ps: borrow-nonmut.txt.eps borrow-nonmut-error.txt.eps
34 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
36 LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o
38 %.txt.eps: %.txt ./txt2ps
39 ./txt2ps <$< |ps2eps -s a3 $o
44 slides.ps: $(SLIDEFILES) Makefile
50 talk.ps: %.ps: %.txt Makefile
51 a2ps -1 -o $@.1.tmp -B $<
52 pstops <$@.1.tmp >$@ '0@0.94(7mm,7.5mm)'
56 for-printing: talk.pdf