diff options
author | Guido van Rossum <guido@python.org> | 1990-10-07 12:35:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1990-10-07 12:35:21 (GMT) |
commit | eeaccbf068bf446a310e07fee988578d0b641ae9 (patch) | |
tree | 9ca2359756a510cd2f33a26114f7199072f41241 | |
parent | b829a0935bbd3dea4898bf68b6be69b59bffcbec (diff) | |
download | cpython-eeaccbf068bf446a310e07fee988578d0b641ae9.zip cpython-eeaccbf068bf446a310e07fee988578d0b641ae9.tar.gz cpython-eeaccbf068bf446a310e07fee988578d0b641ae9.tar.bz2 |
Added support for postscript output (*.ps).
-rw-r--r-- | Doc/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index 6691690..ed9f067 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) >$@ |