summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
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/Makefile
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/Makefile')
-rw-r--r--Doc/Makefile9
1 files changed, 8 insertions, 1 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 \