From ae148a3ea5f8afb495bc49508b3416881de974a9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Aug 2014 02:32:27 +0100 Subject: [PATCH] farting about with manpage --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e33bb68..daf0b78 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -SLIDES=libavg access-table +SLIDES=manpage libavg access-table SLIDEFILES=$(addsuffix .ps, $(SLIDES)) @@ -12,6 +12,13 @@ libavg-gitk-cut.ppm: libavg-gitk.ppm libavg.ps: libavg-gitk-cut.ppm libavg-clone.ppm +manpage.ps: Makefile + man -Tps dgit >$@.1 + pstops -pa4 '100:0@1.7L(-4cm,-10cm)' <$@.1 >$@.2 + sed '/^%%DocumentMedia/d; /^%%BoundingBox/d' <$@.2 | psresize -Pa4 -pa4 >$@.3 + pstops -w29.7cm -h21cm '100:0@1(0cm,0cm)' <$@.3 $o + # + %.ps: %.fig iconv <$< >$@.1 -f UTF-8 -t ISO-8859-1 # wtf! -- 2.30.2