mirror of https://github.com/python/cpython
Added support for postscript output (*.ps).
This commit is contained in:
parent
b829a0935b
commit
eeaccbf068
13
Doc/Makefile
13
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) >$@
|
||||
|
|
Loading…
Reference in New Issue