From 2f55b11bf7d2f7018de49abd0fe3e6ea5c7b5831 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 22 Feb 2001 23:12:37 +0000 Subject: [PATCH] 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. --- Doc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/Makefile b/Doc/Makefile index 728d781e5b..eb363663c6 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 -- 2.50.0