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
|
PYTHON= python
|
||||||
DVIPS= dvips -N0 -t $(PAPER)
|
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
|
# 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
|
# 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
|
# 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
|
# $(shell) function here to work around that restriction by
|
||||||
# identifying mkhowto using an absolute path.
|
# identifying mkhowto using an absolute path.
|
||||||
#
|
#
|
||||||
MKHOWTO= $(PYTHON) $(shell pwd)/tools/mkhowto
|
MKHOWTO= TEXINPUTS=$(TEXINPUTS) $(PYTHON) $(PWD)/tools/mkhowto
|
||||||
|
|
||||||
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
|
MKDVI= $(MKHOWTO) --paper=$(PAPER) --dvi
|
||||||
MKHTML= $(MKHOWTO) --html --about html/stdabout.dat \
|
MKHTML= $(MKHOWTO) --html --about html/stdabout.dat \
|
||||||
|
|
|
@ -5,9 +5,9 @@ COMMONSTYLES= texinputs/python.sty \
|
||||||
|
|
||||||
INDEXSTYLES=texinputs/python.ist
|
INDEXSTYLES=texinputs/python.ist
|
||||||
|
|
||||||
COMMONTEX= texinputs/copyright.tex \
|
COMMONTEX=commontex/copyright.tex \
|
||||||
texinputs/license.tex \
|
commontex/license.tex \
|
||||||
texinputs/boilerplate.tex
|
commontex/boilerplate.tex
|
||||||
|
|
||||||
MANSTYLES= texinputs/fncychap.sty \
|
MANSTYLES= texinputs/fncychap.sty \
|
||||||
texinputs/manual.cls \
|
texinputs/manual.cls \
|
||||||
|
@ -29,8 +29,8 @@ APIFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
||||||
api/refcounting.tex \
|
api/refcounting.tex \
|
||||||
api/utilities.tex \
|
api/utilities.tex \
|
||||||
api/veryhigh.tex \
|
api/veryhigh.tex \
|
||||||
texinputs/typestruct.h \
|
commontex/typestruct.h \
|
||||||
texinputs/reportingbugs.tex
|
commontex/reportingbugs.tex
|
||||||
|
|
||||||
# These files are generated from those listed above, and are used to
|
# These files are generated from those listed above, and are used to
|
||||||
# generate the typeset versions of the manuals. The list is defined
|
# 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)/refcounting.tex \
|
||||||
paper-$(PAPER)/utilities.tex \
|
paper-$(PAPER)/utilities.tex \
|
||||||
paper-$(PAPER)/veryhigh.tex \
|
paper-$(PAPER)/veryhigh.tex \
|
||||||
texinputs/reportingbugs.tex
|
commontex/reportingbugs.tex
|
||||||
|
|
||||||
DOCFILES= $(HOWTOSTYLES) \
|
DOCFILES= $(HOWTOSTYLES) \
|
||||||
texinputs/boilerplate.tex \
|
commontex/boilerplate.tex \
|
||||||
texinputs/ltxmarkup.sty \
|
texinputs/ltxmarkup.sty \
|
||||||
doc/doc.tex
|
doc/doc.tex
|
||||||
|
|
||||||
|
@ -65,8 +65,8 @@ EXTFILES= ext/ext.tex $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
||||||
ext/noddy3.c \
|
ext/noddy3.c \
|
||||||
ext/noddy4.c \
|
ext/noddy4.c \
|
||||||
ext/run-func.c \
|
ext/run-func.c \
|
||||||
texinputs/typestruct.h \
|
commontex/typestruct.h \
|
||||||
texinputs/reportingbugs.tex
|
commontex/reportingbugs.tex
|
||||||
|
|
||||||
TUTFILES= tut/tut.tex tut/glossary.tex $(MANSTYLES) $(COMMONTEX)
|
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
|
# LaTeX source files for the Python Library Reference
|
||||||
LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
LIBFILES= $(MANSTYLES) $(INDEXSTYLES) $(COMMONTEX) \
|
||||||
texinputs/reportingbugs.tex \
|
commontex/reportingbugs.tex \
|
||||||
lib/lib.tex \
|
lib/lib.tex \
|
||||||
lib/asttable.tex \
|
lib/asttable.tex \
|
||||||
lib/compiler.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.2.3}{2.2.2}{2002-2003}{PSF}{yes}
|
||||||
\linev{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.1}{2.3}{2002-2003}{PSF}{yes}
|
||||||
|
\linev{2.3.2}{2.3.1}{2003}{PSF}{yes}
|
||||||
\end{tablev}
|
\end{tablev}
|
||||||
|
|
||||||
\note{GPL-compatible doesn't mean that we're distributing
|
\note{GPL-compatible doesn't mean that we're distributing
|
Loading…
Reference in New Issue