SLIDES+= dm-1 SLIDES+= dm-2 SLIDES+= dm-3 SLIDES+= dm-5 SLIDES+= dm-6 SLIDES+= dm-rebase-again # made from 7 SLIDES+= dm-pre-wreck SLIDES+= dm-wreck # made from 4 SLIDES+= dm-post-wreck SLIDES+= dm-6 #SLIDES+= manpage # layers # X0 text # X1 circles # X2 edges # X3 edges (53 is included in wreck) # X4,5 upstream git history # 1X0-9 "master" note # 1X3 not included in pre-wreck # 151 included in rebase-again # for # X = # 1 [1] # 2 [2] # 3 [3] # 5 [4] # 6 [5] SLIDEFILES=$(addsuffix .ps, $(SLIDES)) o= >$@.new && mv -f $@.new $@ all: slides.pdf talk.ps %.ps: %.fig iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 # wtf! LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 <$@.1 $o dm-%.ps: dm.fig iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:$*9,1$*0:1$*9 <$@.1 $o dm-rebase-again.ps: dm.fig conflict.txt.eps ./greyout <$< >$@.fig.tmp iconv <$@.fig.tmp >$@.1 -f UTF-8 -t ISO-8859-1 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:79,151,170:179 <$@.1 $o dm-pre-wreck.ps: dm.fig conflict.txt.eps iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+10:39,44:45,130:132,135:139 <$@.1 $o dm-post-wreck.ps: dm.fig conflict.txt.eps iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+4,5,10:39,44:45,130:132,135:139 <$@.1 $o dm-wreck.ps: dm.fig conflict.txt.eps iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 LC_CTYPE=en_GB fig2dev -L ps -l dummy -z A4 -D+1:3,5,44:45,53,+10:49,140:149 <$@.1 $o %.eps: %.fig iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 # wtf! LC_CTYPE=en_GB fig2dev -L eps <$@.1 $o manpage.ps: dgit.1-manpage Makefile man -Tps -l $< >$@.1 pstops -pa3 '100:0@1.7(-4cm,-47cm)' <$@.1 >$@.2 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3 pdfcrop --bbox '0 0 841 595' $@.3 $@.4 pdf2ps $@.3 $@.4 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@ manpage-clean.ps: dgit.1-manpage Makefile man -Tps -l $< >$@.1 pstops -pa3 '100:3@1.7(-4cm,-43cm)' <$@.1 >$@.2 ps2pdf -sPAPERSIZE=a3 $@.2 $@.3 pdfcrop --bbox '0 0 841 595' $@.3 $@.4 pdf2ps $@.3 $@.4 pstops -pa3 '0L(21cm,0cm)' <$@.4 >$@.5 pstops -pa4 '0(0cm,0cm)' <$@.5 >$@ nmu-compare.ps: my-history-inc.eps %.txt.eps: %.txt ./txt2ps ./txt2ps <$< |ps2eps -s a3 $o %.ps: %.lout lout $< $o slides.ps: $(SLIDEFILES) Makefile cat $(SLIDEFILES) $o slides.pdf: slides.ps Makefile ps2pdf $< $@ talk.ps: talk.txt a2ps -1 -o $@ -B talk.txt install: slides.pdf talk.txt rsync -vP $^ ijackson@chiark:public-html/2015/debconf-dgit-talk/ git push ijackson@chiark:public-git/talk-2015-debconf-dgit.git