summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-02-22 23:12:37 (GMT)
committerFred Drake <fdrake@acm.org>2001-02-22 23:12:37 (GMT)
commit2f55b11bf7d2f7018de49abd0fe3e6ea5c7b5831 (patch)
tree9c33f4eb8ab1c353fc7dc7e170235618e9f17791 /Doc/Makefile
parentd27ed858c3ce4b7c80e998bfaf2b608526b78f0e (diff)
downloadcpython-2f55b11bf7d2f7018de49abd0fe3e6ea5c7b5831.zip
cpython-2f55b11bf7d2f7018de49abd0fe3e6ea5c7b5831.tar.gz
cpython-2f55b11bf7d2f7018de49abd0fe3e6ea5c7b5831.tar.bz2
cd to the html/ directory to generate the global module index so the links
to the module sections are right. This was also broken when converting to a flat Makefile.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 728d781..eb36366 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -242,9 +242,10 @@ html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
html/modindex.html: html/lib/lib.html html/mac/mac.html
- $(TOOLSDIR)/mkmodindex --columns 4 --output html/modindex.html \
+ (cd html; \
+ ../$(TOOLSDIR)/mkmodindex --columns 4 --output modindex.html \
--address $(PYTHONDOCS) \
- html/lib/modindex.html html/mac/modindex.html
+ lib/modindex.html mac/modindex.html)
html: $(INDEXFILES) html/index.html html/modindex.html html/acks.html