mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Added support for postscript output (*.ps).
This commit is contained in:
parent
b829a0935b
commit
eeaccbf068
1 changed files with 11 additions and 2 deletions
13
Doc/Makefile
13
Doc/Makefile
|
@ -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)
|
||||||
$(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) >$@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue