mirror of https://github.com/python/cpython
Use the tools/mkdvi.sh script to generate DVI and PDF output for the
library reference now that it's sufficiently capable.
This commit is contained in:
parent
c260c0bcdb
commit
6ab98325f7
|
@ -50,8 +50,10 @@ HOWTOSTYLES= ../texinputs/howto.cls \
|
|||
$(COMMONSTYLES)
|
||||
|
||||
|
||||
$(DVIFILES): ../tools/fix_hack ../tools/mkdvi.sh $(COMMONTEX)
|
||||
$(PDFFILES): ../tools/fix_hack ../tools/mkdvi.sh $(COMMONTEX)
|
||||
SCRIPTS: ../tools/fix_hack ../tools/mkdvi.sh ../tools/indfix.py
|
||||
|
||||
$(DVIFILES): $(SCRIPTS) $(COMMONTEX)
|
||||
$(PDFFILES): $(SCRIPTS) $(COMMONTEX)
|
||||
|
||||
$(MANDVIFILES): $(MANSTYLES)
|
||||
$(MANPDFFILES): $(MANSTYLES)
|
||||
|
@ -77,28 +79,6 @@ README: $(PSFILES)
|
|||
$(TOOLSDIR)/getpagecounts >$@
|
||||
|
||||
|
||||
# Python Library Reference
|
||||
lib.dvi: $(TOOLSDIR)/indfix.py $(LIBFILES)
|
||||
$(TOOLSDIR)/newind.py >lib.ind
|
||||
$(TOOLSDIR)/newind.py modindex >modlib.ind
|
||||
TEXINPUTS=../lib:$(TEXINPUTS) $(LATEX) lib
|
||||
$(MAKEINDEX) modlib.idx
|
||||
$(TOOLSDIR)/fix_hack lib.idx
|
||||
$(MAKEINDEX) lib.idx
|
||||
$(TOOLSDIR)/indfix.py lib.ind
|
||||
TEXINPUTS=../lib:$(TEXINPUTS) $(LATEX) lib
|
||||
|
||||
lib.pdf: $(TOOLSDIR)/indfix.py $(LIBFILES)
|
||||
$(TOOLSDIR)/newind.py >lib.ind
|
||||
$(TOOLSDIR)/newind.py modindex >modlib.ind
|
||||
TEXINPUTS=../lib:$(TEXINPUTS) $(PDFLATEX) lib
|
||||
$(MAKEINDEX) modlib.idx
|
||||
$(TOOLSDIR)/fix_hack lib.idx
|
||||
$(MAKEINDEX) lib.idx
|
||||
$(TOOLSDIR)/indfix.py lib.ind
|
||||
$(TOOLSDIR)/toc2bkm.py lib
|
||||
TEXINPUTS=../lib:$(TEXINPUTS) $(PDFLATEX) lib
|
||||
|
||||
# Python/C API Reference Manual
|
||||
api.dvi: $(APIFILES)
|
||||
$(MKDVI) api
|
||||
|
@ -120,6 +100,13 @@ ext.dvi: $(EXTFILES)
|
|||
ext.pdf: $(EXTFILES)
|
||||
$(MKPDF) ext
|
||||
|
||||
# Python Library Reference
|
||||
lib.dvi: $(LIBFILES)
|
||||
$(MKDVI) lib
|
||||
|
||||
lib.pdf: $(LIBFILES)
|
||||
$(MKPDF) lib
|
||||
|
||||
# Macintosh Library Modules
|
||||
mac.dvi: $(MACFILES)
|
||||
$(MKHOWTO) --dvi ../mac/mac.tex
|
||||
|
|
Loading…
Reference in New Issue