From: Guido van Rossum Date: Sun, 7 Oct 1990 12:35:21 +0000 (+0000) Subject: Added support for postscript output (*.ps). X-Git-Tag: v0.9.8~1180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eeaccbf068bf446a310e07fee988578d0b641ae9;p=thirdparty%2FPython%2Fcpython.git Added support for postscript output (*.ps). --- diff --git a/Doc/Makefile b/Doc/Makefile index 6691690fe9ca..ed9f067d9374 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) >$@