chiark / gitweb /
manpage-clean.ps etc.
[talk-2015-debconf-dgit.git] / Makefile
index 71f644e3a140d8b5067d81d457ea1a5b7a0df3b7..d95cbd07ed4ead663ae7ebcf93aba7f1e4390a69 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,8 @@ SLIDES+= data-flow
 SLIDES+= dflow-equal
 SLIDES+= data-flow
 SLIDES+= dflow-equal
+SLIDES+= manpage
+SLIDES+= manpage-clean
 SLIDES+= future
 
 SLIDEFILES=$(addsuffix .ps, $(SLIDES))
@@ -32,8 +34,18 @@ manpage.ps: dgit.1-manpage Makefile
        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 >$@
+       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