14 SLIDES+= manpage-clean
18 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
20 o= >$@.new && mv -f $@.new $@
22 all: slides.pdf talk.ps
25 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
27 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o
30 iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1
32 LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o
34 manpage.ps: dgit.1-manpage Makefile
36 pstops -pa3 '100:0@1.7(-4cm,-47cm)' <$@.1 >$@.2
37 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3
38 pdfcrop --bbox '0 0 841 595' $@.3 $@.4
40 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5
41 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@
43 manpage-clean.ps: dgit.1-manpage Makefile
45 pstops -pa3 '100:3@1.7(-4cm,-43cm)' <$@.1 >$@.2
46 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3
47 pdfcrop --bbox '0 0 841 595' $@.3 $@.4
49 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5
50 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@
52 nmu-compare.ps: my-history-inc.eps
54 %.txt.eps: %.txt ./txt2ps
55 ./txt2ps <$< |ps2eps -s a3 $o
60 slides.ps: $(SLIDEFILES) Makefile
63 slides.pdf: slides.ps Makefile
67 a2ps -1 -o $@ -B talk.txt
69 install: slides.pdf talk.txt
70 rsync -vP $^ ijackson@chiark:public-html/2015/debconf-dgit-talk/
71 git push ijackson@chiark:public-git/talk-2015-debconf-dgit.git