From eeaccbf068bf446a310e07fee988578d0b641ae9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 7 Oct 1990 12:35:21 +0000 Subject: [PATCH] Added support for postscript output (*.ps). --- Doc/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile index 6691690fe9c..ed9f067d937 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -3,6 +3,7 @@ TROFF= ditroff MS= -ms FUNNYTAB= $$HOME/lib/funnytab PREVIEW= dpv -f $(FUNNYTAB) +PSDIT= psdit tut: tut.dit $(PREVIEW) tut.dit @@ -23,9 +24,17 @@ all: $(ALL) $(ALL): macros.ms clean: - rm -f $(ALL) + rm -f *.dit *.ps core @* ,* -.SUFFIXES: .ms .dit +.SUFFIXES: # Remove default suffixes + +.SUFFIXES: .ms .dit .ps .ms.dit: $(TBL) $*.ms | $(TROFF) $(MS) >$@ + +.dit.ps: + $(PSDIT) <$*.dit >$@ + +.ms.ps: + $(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@