diff options
author | Guido van Rossum <guido@python.org> | 1991-01-22 11:47:14 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-01-22 11:47:14 (GMT) |
commit | b3fa13cef7fc0add41da0ed22fd47c388c3a1bf1 (patch) | |
tree | 2b4fc891a991101ca7832255750c252963c930c5 /Doc | |
parent | 515834a99b946d8c38af0f2d33b2e950ee3b7d12 (diff) | |
download | cpython-b3fa13cef7fc0add41da0ed22fd47c388c3a1bf1.zip cpython-b3fa13cef7fc0add41da0ed22fd47c388c3a1bf1.tar.gz cpython-b3fa13cef7fc0add41da0ed22fd47c388c3a1bf1.tar.bz2 |
Made the move to TeX.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Makefile | 55 |
1 files changed, 40 insertions, 15 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index ed9f067..9cae7c0 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -1,40 +1,65 @@ +LATEX= latex +DVIPS= dvips +TEXPREVIEW= texsgi + +PRINT= lpr + TBL= tbl TROFF= ditroff MS= -ms FUNNYTAB= $$HOME/lib/funnytab -PREVIEW= dpv -f $(FUNNYTAB) +PREVIEW= dpv -Pfa -f $(FUNNYTAB) PSDIT= psdit +REFER= refer +PROCESS= $(REFER) -e -n $*.ms | $(TBL) | $(TROFF) $(MS) -tut: tut.dit - $(PREVIEW) tut.dit +tut: tut.dvi + $(TEXPREVIEW) tut -mod: mod.dit - $(PREVIEW) mod.dit +tut.dvi: tut.tex tut.toc -paper: paper.dit - $(PREVIEW) paper.dit +mod: mod.dvi + $(TEXPREVIEW) mod -ref: ref.dit - $(PREVIEW) ref.dit +mod.dvi: mod.tex mod.toc -ALL= tut.dit mod.dit paper.dit ref.dit +ALL= tut.ps mod.ps all: $(ALL) -$(ALL): macros.ms +print: $(ALL) + $(PRINT) $(ALL) + +$(ALL): mystyle.sty clean: - rm -f *.dit *.ps core @* ,* + rm -f *.dit *.ps core @* ,* .SUFFIXES: # Remove default suffixes -.SUFFIXES: .ms .dit .ps +.SUFFIXES: .ms .dit .tex .aux .toc .dvi .ps + +.tex.aux: + $(LATEX) $* + +.tex.toc: + $(LATEX) $* + +.tex.dvi: + $(LATEX) $* + +.dvi.ps: + $(DVIPS) $* >$*.ps + +.tex.ps: + $(LATEX) $* + $(DVIPS) $* >$*.ps .ms.dit: - $(TBL) $*.ms | $(TROFF) $(MS) >$@ + $(PROCESS) >$@ .dit.ps: $(PSDIT) <$*.dit >$@ .ms.ps: - $(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@ + $(PROCESS) | $(PSDIT) >$@ |