2 SLIDES= title archive-vcs manpage demo-placeholder data libavg
3 SLIDES+= autopatch access-table questions
5 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
7 o= >$@.new && mv -f $@.new $@
11 libavg-gitk-cut.ppm: libavg-gitk.ppm
12 pnmcut -bot 150 <$< $o
14 libavg.ps: libavg-gitk-cut.ppm libavg-clone.ppm
16 manpage.ps: dgit.1-manpage Makefile
18 pstops -pa3 '100:0@1.7(-4cm,-47cm)' <$@.1 >$@.2
19 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3
20 pdfcrop --bbox '0 0 841 595' $@.3 $@.4
22 pstops -pa4 '0L(21cm,0cm)' <$@.5 >$@
25 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
27 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
29 data.ps: data-checkout.txt.eps data-dget.txt.eps data-dsc.txt.eps
30 autopatch.ps: autopatch-top.txt.eps
32 %.txt.eps: %.txt ./txt2ps
33 ./txt2ps <$< |ps2eps -s a3 $o
38 slides.ps: $(SLIDEFILES) Makefile
41 slides.pdf: slides.ps Makefile
44 install: slides.pdf talk.txt
45 rsync -vP $^ ijackson@chiark:public-html/2014/debconf-dgit-talk/
46 git push ijackson@chiark:public-git/talk-2014-debconf-dgit.git