summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-09-27 07:11:17 (GMT)
committerFred Drake <fdrake@acm.org>2003-09-27 07:11:17 (GMT)
commit410825ac8b0f3427f0b163ca2354c289e21ac0ff (patch)
tree0400c05bf84fd267a6fd3ac59c27b626b2f28194 /Doc
parent2ee37ff1919ccf8748c3cdfdb604ee115e051ad4 (diff)
downloadcpython-410825ac8b0f3427f0b163ca2354c289e21ac0ff.zip
cpython-410825ac8b0f3427f0b163ca2354c289e21ac0ff.tar.gz
cpython-410825ac8b0f3427f0b163ca2354c289e21ac0ff.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile9
-rw-r--r--Doc/Makefile.deps20
-rw-r--r--Doc/commontex/boilerplate.tex (renamed from Doc/texinputs/boilerplate.tex)0
-rw-r--r--Doc/commontex/copyright.tex (renamed from Doc/texinputs/copyright.tex)0
-rw-r--r--Doc/commontex/license.tex (renamed from Doc/texinputs/license.tex)1
-rw-r--r--Doc/commontex/reportingbugs.tex (renamed from Doc/texinputs/reportingbugs.tex)0
-rw-r--r--Doc/commontex/typestruct.h (renamed from Doc/texinputs/typestruct.h)0
7 files changed, 19 insertions, 11 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 34bd632..2ea8180 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -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 \
diff --git a/Doc/Makefile.deps b/Doc/Makefile.deps
index faa2129..b7724da 100644
--- a/Doc/Makefile.deps
+++ b/Doc/Makefile.deps
@@ -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 \
diff --git a/Doc/texinputs/boilerplate.tex b/Doc/commontex/boilerplate.tex
index 434feaa..434feaa 100644
--- a/Doc/texinputs/boilerplate.tex
+++ b/Doc/commontex/boilerplate.tex
diff --git a/Doc/texinputs/copyright.tex b/Doc/commontex/copyright.tex
index e7b8280..e7b8280 100644
--- a/Doc/texinputs/copyright.tex
+++ b/Doc/commontex/copyright.tex
diff --git a/Doc/texinputs/license.tex b/Doc/commontex/license.tex
index 5e325a9..263d4f9 100644
--- a/Doc/texinputs/license.tex
+++ b/Doc/commontex/license.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
diff --git a/Doc/texinputs/reportingbugs.tex b/Doc/commontex/reportingbugs.tex
index 6db43de..6db43de 100644
--- a/Doc/texinputs/reportingbugs.tex
+++ b/Doc/commontex/reportingbugs.tex
diff --git a/Doc/texinputs/typestruct.h b/Doc/commontex/typestruct.h
index 0afe375..0afe375 100644
--- a/Doc/texinputs/typestruct.h
+++ b/Doc/commontex/typestruct.h