mirror of https://github.com/python/cpython
Move content input files shared among the documents into a new directory
(commontex/), leaving only style support files in texinputs/. This makes texinputs/ part of the formatting tools while commontex/ is strictly part of the actual documentation.
This commit is contained in:
parent
2ee37ff191
commit
410825ac8b
|
@ -71,6 +71,13 @@ RELEASE=2.4a0
|
|||
PYTHON= python
|
||||
DVIPS= dvips -N0 -t $(PAPER)
|
||||
|
||||
PWD=$(shell pwd)
|
||||
|
||||
# (The trailing colon in the value is needed; TeX places it's default
|
||||
# set of paths at the location of the empty string in the path list.)
|
||||
#
|
||||
TEXINPUTS=$(PWD)/commontex:
|
||||
|
||||
# This is ugly! The issue here is that there are two different levels
|
||||
# in the directory tree at which we execute mkhowto, so we can't
|
||||
# define it just once using a relative path (at least not with the
|
||||
|
@ -78,7 +85,7 @@ DVIPS= dvips -N0 -t $(PAPER)
|
|||
# $(shell) function here to work around that restriction by
|
||||
# identifying mkhowto using an absolute path.
|
||||
#
|
||||
MKHOWTO= $(PYTHON) $(shell pwd)/tools/mkhowto
|
||||
MKHOWTO= TEXINPUTS=$(TEXINPUTS) $(PYTHON) $(PWD)/tools/mkhowto
|
||||
|
||||
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
|
||||
MKHTML= $(MKHOWTO) --html --about html/stdabout.dat \
|
||||
|
|
|
@ -5,9 +5,9 @@ COMMONSTYLES= texinputs/python.sty \
|
|||
|
||||
INDEXSTYLES=texinputs/python.ist
|
||||
|
||||
COMMONTEX= texinputs/copyright.tex \
|
||||
texinputs/license.tex \
|
||||
texinputs/boilerplate.tex
|
||||
COMMONTEX=commontex/copyright.tex \
|
||||
commontex/license.tex \
|
||||
commontex/boilerplate.tex
|
||||
|
||||
MANSTYLES= texinputs/fncychap.sty \
|
||||
texinputs/manual.cls \
|
||||
|
@ -29,8 +29,8 @@ APIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
|||
api/refcounting.tex \
|
||||
api/utilities.tex \
|
||||
api/veryhigh.tex \
|
||||
texinputs/typestruct.h \
|
||||
texinputs/reportingbugs.tex
|
||||
commontex/typestruct.h \
|
||||
commontex/reportingbugs.tex
|
||||
|
||||
# These files are generated from those listed above, and are used to
|
||||
# generate the typeset versions of the manuals. The list is defined
|
||||
|
@ -47,10 +47,10 @@ ANNOAPIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) api/refcounts.dat \
|
|||
paper-$(PAPER)/refcounting.tex \
|
||||
paper-$(PAPER)/utilities.tex \
|
||||
paper-$(PAPER)/veryhigh.tex \
|
||||
texinputs/reportingbugs.tex
|
||||
commontex/reportingbugs.tex
|
||||
|
||||
DOCFILES= $(HOWTOSTYLES) \
|
||||
texinputs/boilerplate.tex \
|
||||
commontex/boilerplate.tex \
|
||||
texinputs/ltxmarkup.sty \
|
||||
doc/doc.tex
|
||||
|
||||
|
@ -65,8 +65,8 @@ EXTFILES= ext/ext.tex $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
|||
ext/noddy3.c \
|
||||
ext/noddy4.c \
|
||||
ext/run-func.c \
|
||||
texinputs/typestruct.h \
|
||||
texinputs/reportingbugs.tex
|
||||
commontex/typestruct.h \
|
||||
commontex/reportingbugs.tex
|
||||
|
||||
TUTFILES= tut/tut.tex tut/glossary.tex $(MANSTYLES) $(COMMONTEX)
|
||||
|
||||
|
@ -84,7 +84,7 @@ REFFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
|||
|
||||
# LaTeX source files for the Python Library Reference
|
||||
LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
||||
texinputs/reportingbugs.tex \
|
||||
commontex/reportingbugs.tex \
|
||||
lib/lib.tex \
|
||||
lib/asttable.tex \
|
||||
lib/compiler.tex \
|
||||
|
|
|
@ -42,6 +42,7 @@ GPL-compatible; the table below summarizes the various releases.
|
|||
\linev{2.2.3}{2.2.2}{2002-2003}{PSF}{yes}
|
||||
\linev{2.3}{2.2.2}{2002-2003}{PSF}{yes}
|
||||
\linev{2.3.1}{2.3}{2002-2003}{PSF}{yes}
|
||||
\linev{2.3.2}{2.3.1}{2003}{PSF}{yes}
|
||||
\end{tablev}
|
||||
|
||||
\note{GPL-compatible doesn't mean that we're distributing
|
Loading…
Reference in New Issue