chiark / gitweb /
wip
[talk-2015-debconf-dgit.git] / Makefile
index ebcae19a8a5c323289cd14b453cc5a1e3b9eae36..71f644e3a140d8b5067d81d457ea1a5b7a0df3b7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 
 SLIDES+= title
+SLIDES+= manpage
 SLIDES+= data-flow
 SLIDES+= nmu-linear
 SLIDES+= nmu-basic
@@ -7,6 +8,7 @@ SLIDES+= nmu-compare
 SLIDES+= data-flow
 SLIDES+= dflow-equal
 SLIDES+= data-flow
+SLIDES+= dflow-equal
 SLIDES+= future
 
 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
@@ -25,6 +27,14 @@ all: slides.pdf
        # 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 $@.4 $@.5
+       pstops -pa4 '0L(21cm,0cm)' <$@.5 >$@
+
 nmu-compare.ps: my-history-inc.eps
 
 %.txt.eps: %.txt ./txt2ps