10 SLIDES+= borrow-nonmut
21 SLIDES+= stability-slide
22 SLIDES+= borrow-errormsg
26 SLIDES+= bck-lifetimes
29 SLIDES+= otherproblems
34 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
36 o= >$@.new && mv -f $@.new $@
38 all: slides.pdf talk.ps
41 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
43 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
46 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
47 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D-60 <$@.1 $o
49 bck-lifetimes.ps: bck-err.txt.eps
50 macros.ps: serde-example.txt.eps macro-rules-example.txt.eps
51 borrow-mut.ps: borrow-mut-example.txt.eps
52 dangling.ps: dangling.txt.eps dangling-err.txt.eps
53 borrow-nonmut.ps borrow-errormsg.ps: borrow-nonmut.txt.eps borrow-nonmut-error.txt.eps
54 cargo.ps: cargo-nonconfig.txt.eps
56 tour-main.ps: tour-example.txt.eps
58 tour-%.ps: tour-main.fig tour-example.txt.eps Makefile
59 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
60 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:59,$*,80:99,300:999 <$@.1 $o
62 tourx-%.ps: tour-main.fig unsafe-example.txt.eps ffi-example.txt.eps ffi-example-cpp.txt.eps Makefile
63 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
64 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:59,$*,80:89,91:99,300:999,1$*,2$* <$@.1 $o
67 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
69 LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o
71 %.txt.eps: %.txt ./txt2ps
72 ./txt2ps <$< |ps2eps -s a3 $o
77 slides.ps: $(SLIDEFILES) Makefile
83 talk.ps: %.ps: %.txt Makefile
84 a2ps -1 -f12.5 -o $@.1.tmp -B $<
85 pstops <$@.1.tmp >$@ '0@0.94(7mm,7.5mm)'
89 for-printing: talk.pdf