Commit 24986a31 authored by Guido van Rossum's avatar Guido van Rossum

Added support for postscript output (*.ps).

parent f1be1931
...@@ -3,6 +3,7 @@ TROFF= ditroff ...@@ -3,6 +3,7 @@ TROFF= ditroff
MS= -ms MS= -ms
FUNNYTAB= $$HOME/lib/funnytab FUNNYTAB= $$HOME/lib/funnytab
PREVIEW= dpv -f $(FUNNYTAB) PREVIEW= dpv -f $(FUNNYTAB)
PSDIT= psdit
tut: tut.dit tut: tut.dit
$(PREVIEW) tut.dit $(PREVIEW) tut.dit
...@@ -23,9 +24,17 @@ all: $(ALL) ...@@ -23,9 +24,17 @@ all: $(ALL)
$(ALL): macros.ms $(ALL): macros.ms
clean: clean:
rm -f $(ALL) rm -f *.dit *.ps core @* ,*
.SUFFIXES: .ms .dit .SUFFIXES: # Remove default suffixes
.SUFFIXES: .ms .dit .ps
.ms.dit: .ms.dit:
$(TBL) $*.ms | $(TROFF) $(MS) >$@ $(TBL) $*.ms | $(TROFF) $(MS) >$@
.dit.ps:
$(PSDIT) <$*.dit >$@
.ms.ps:
$(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment