9 SLIDES+= dm-rebase-again # made from 7
11 SLIDES+= dm-wreck # made from 4
12 SLIDES+= dm-post-wreck
14 # dm-for-zoom is made from 6
21 # X3 edges (53 is included in wreck)
22 # X4,5 upstream git history
24 # 1X3 not included in pre-wreck
25 # 151 included in rebase-again
36 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
38 o= >$@.new && mv -f $@.new $@
40 all: slides.pdf talk.ps
43 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
45 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
47 zoom.fig: dm-for-zoom.eps
50 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
51 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:$*9,1$*0:1$*9 <$@.1 $o
53 dm-rebase-again.ps: dm.fig conflict.txt.eps
54 ./greyout <$< >$@.fig.tmp
55 iconv <$@.fig.tmp >$@.1 -f UTF-8 -t ISO-8859-1
56 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:79,151,170:179 <$@.1 $o
58 dm-pre-wreck.ps: dm.fig conflict.txt.eps
59 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
60 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:39,44:45,130:132,135:139 <$@.1 $o
62 dm-post-wreck.ps: dm.fig conflict.txt.eps
63 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
64 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+4,5,10:39,44:45,130:132,135:139 <$@.1 $o
66 dm-wreck.ps: dm.fig conflict.txt.eps
67 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
68 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:3,5,44:45,53,+10:49,140:149 <$@.1 $o
71 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
73 LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o
75 dm-for-zoom.eps: dm.fig
76 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
78 LC_CTYPE=en_GB fig2dev -L eps -D+10:18,20:69,160:168 <$@.1 $o
80 manpage.ps: dgit.1-manpage Makefile
82 pstops -pa3 '100:0@1.7(-4cm,-47cm)' <$@.1 >$@.2
83 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3
84 pdfcrop --bbox '0 0 841 595' $@.3 $@.4
86 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5
87 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@
89 manpage-clean.ps: dgit.1-manpage Makefile
91 pstops -pa3 '100:3@1.7(-4cm,-43cm)' <$@.1 >$@.2
92 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3
93 pdfcrop --bbox '0 0 841 595' $@.3 $@.4
95 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5
96 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@
98 nmu-compare.ps: my-history-inc.eps
100 %.txt.eps: %.txt ./txt2ps
101 ./txt2ps <$< |ps2eps -s a3 $o
106 slides.ps: $(SLIDEFILES) Makefile
109 slides.pdf: slides.ps Makefile
113 a2ps -1 -o $@ -B talk.txt
115 install: slides.pdf talk.txt
116 rsync -vP $^ ijackson@chiark:public-html/2015/debconf-dgit-talk/
117 git push ijackson@chiark:public-git/talk-2015-debconf-dgit.git