]> granicus.if.org Git - python/commitdiff
cd to the html/ directory to generate the global module index so the links
authorFred Drake <fdrake@acm.org>
Thu, 22 Feb 2001 23:12:37 +0000 (23:12 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 22 Feb 2001 23:12:37 +0000 (23:12 +0000)
to the module sections are right.

This was also broken when converting to a flat Makefile.

Doc/Makefile

index 728d781e5b35591c360b5d8fe35266fc7e9697c2..eb363663c6170d9acb579f16fd64301a1b52d39e 100644 (file)
@@ -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