10 SLIDES+= borrow-nonmut
21 SLIDES+= stability-slide
22 SLIDES+= borrow-errormsg
26 SLIDES+= bck-lifetimes
33 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
35 o= >$@.new && mv -f $@.new $@
37 all: slides.pdf talk.ps
40 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
42 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
45 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
46 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D-60 <$@.1 $o
48 bck-lifetimes.ps: bck-err.txt.eps
49 macros.ps: serde-example.txt.eps macro-rules-example.txt.eps
50 borrow-mut.ps: borrow-mut-example.txt.eps
51 dangling.ps: dangling.txt.eps dangling-err.txt.eps
52 borrow-nonmut.ps borrow-errormsg.ps: borrow-nonmut.txt.eps borrow-nonmut-error.txt.eps
53 cargo.ps: cargo-nonconfig.txt.eps
55 tour-main.ps: tour-example.txt.eps
57 tour-%.ps: tour-main.fig tour-example.txt.eps Makefile
58 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
59 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:59,$*,80:99,300:999 <$@.1 $o
61 tourx-%.ps: tour-main.fig unsafe-example.txt.eps ffi-example.txt.eps ffi-example-cpp.txt.eps Makefile
62 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
63 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:59,$*,80:89,91:99,300:999,1$*,2$* <$@.1 $o
66 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
68 LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o
70 %.txt.eps: %.txt ./txt2ps
71 ./txt2ps <$< |ps2eps -s a3 $o
76 slides.ps: $(SLIDEFILES) Makefile
82 talk.ps: %.ps: %.txt Makefile
83 a2ps -1 -o $@.1.tmp -B $<
84 pstops <$@.1.tmp >$@ '0@0.94(7mm,7.5mm)'
88 for-printing: talk.pdf