summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-01-25 13:29:04 (GMT)
committerGuido van Rossum <guido@python.org>1991-01-25 13:29:04 (GMT)
commit20aca5aa39c25353f0b8980a809f07c30d908922 (patch)
tree277d67633a512e4a9ea5f486118e523958105a83 /Doc
parent4c22cb2f311ba5c7ee0ad4986677874829f71dcf (diff)
downloadcpython-20aca5aa39c25353f0b8980a809f07c30d908922.zip
cpython-20aca5aa39c25353f0b8980a809f07c30d908922.tar.gz
cpython-20aca5aa39c25353f0b8980a809f07c30d908922.tar.bz2
Took out (di)troff references.
Changed dependencies somewhat.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile32
1 files changed, 7 insertions, 25 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 9cae7c0..8757120 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -1,27 +1,20 @@
+# Makefile for Python documentation.
+
LATEX= latex
DVIPS= dvips
-TEXPREVIEW= texsgi
+TEXPREVIEW= xdvi
PRINT= lpr
-TBL= tbl
-TROFF= ditroff
-MS= -ms
-FUNNYTAB= $$HOME/lib/funnytab
-PREVIEW= dpv -Pfa -f $(FUNNYTAB)
-PSDIT= psdit
-REFER= refer
-PROCESS= $(REFER) -e -n $*.ms | $(TBL) | $(TROFF) $(MS)
-
tut: tut.dvi
$(TEXPREVIEW) tut
-tut.dvi: tut.tex tut.toc
+tut.dvi tut.ps: tut.toc tut.tex myformat.sty
mod: mod.dvi
$(TEXPREVIEW) mod
-mod.dvi: mod.tex mod.toc
+mod.dvi mod.ps: mod.toc mod.tex myformat.sty
ALL= tut.ps mod.ps
@@ -30,14 +23,12 @@ all: $(ALL)
print: $(ALL)
$(PRINT) $(ALL)
-$(ALL): mystyle.sty
-
clean:
- rm -f *.dit *.ps core @* ,*
+ rm -f *.dvi *.aux *.toc *.log *.ps core @* ,*
.SUFFIXES: # Remove default suffixes
-.SUFFIXES: .ms .dit .tex .aux .toc .dvi .ps
+.SUFFIXES: .tex .aux .toc .dvi .ps
.tex.aux:
$(LATEX) $*
@@ -54,12 +45,3 @@ clean:
.tex.ps:
$(LATEX) $*
$(DVIPS) $* >$*.ps
-
-.ms.dit:
- $(PROCESS) >$@
-
-.dit.ps:
- $(PSDIT) <$*.dit >$@
-
-.ms.ps:
- $(PROCESS) | $(PSDIT) >$@