Added support for postscript output (*.ps).

This commit is contained in:
Guido van Rossum 1990-10-07 12:35:21 +00:00
parent b829a0935b
commit eeaccbf068
1 changed files with 11 additions and 2 deletions

View File

@ -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) >$@