]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Much simpler version, intended as a script.
authorGuido van Rossum <guido@python.org>
Fri, 6 Mar 1992 10:56:42 +0000 (10:56 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Mar 1992 10:56:42 +0000 (10:56 +0000)
Doc/Makefile

index e209e47bdccbcb4982ea950c9bc6b2735d3e78fb..4e42c5c2d6b66bdc262e9cbac0a431f74ab188f5 100644 (file)
@@ -1,60 +1,27 @@
-# Makefile for Python documentation.
-# Actually, it is easier to just do:
-#      latex tut
-#      latex tut
-#      latex lib
-#      latex lib
-#      latex ref
-#      latex ref
-# (Doing everything twice so the table of contents comes out right!)
-
-LATEX=         latex
-DVIPS=         dvips
-TEXPREVIEW=    xdvi
-
-PRINT=         lpr
-
-ALL=           tut.ps lib.ps ref.ps
-
-all:           $(ALL)
-
-tut:           tut.dvi
-               $(TEXPREVIEW) tut
-
-tut.dvi tut.ps:        tut.toc tut.tex myformat.sty
-
-lib:           lib.dvi
-               $(TEXPREVIEW) lib
-
-lib.dvi lib.ps:        lib.toc lib.tex lib1.tex lib2.tex lib3.tex myformat.sty
-
-ref:           ref.dvi
-               $(TEXPREVIEW) ref
-
-ref.dvi ref.ps:        ref.toc ref.tex myformat.sty
-
-print:         $(ALL)
-               $(PRINT) $(ALL)
+all:   tut ref lib # qua
+
+tut:
+       latex tut
+       latex tut
+
+ref:
+       touch ref.ind
+       latex ref
+       makeindex ref
+       latex ref
+
+lib:
+       touch lib.ind
+       latex lib
+       makeindex lib
+       latex lib
+
+qua:
+       latex qua
+       latex qua
+       bibtex qua
+       latex qua
 
 clean:
-               rm -f *.dvi *.aux *.toc *.log *.ps core [#@,]* *~
-
-.SUFFIXES:     # Remove default suffixes
-
-.SUFFIXES:     .tex .aux .toc .dvi .ps
-
-.tex.aux:
-               $(LATEX) $*
-
-.tex.toc:
-               $(LATEX) $*
-
-.tex.dvi:
-               $(LATEX) $*
-
-.dvi.ps:
-               $(DVIPS) $* >$*.ps
-
-.tex.ps:
-               $(LATEX) $*
-               $(DVIPS) $* >$*.ps
+       rm -f *~ *.aux *.dvi *.idx *.ilg *.ind *.log *.ps *.toc
+       # Keep: .tex, .bib, .sty!