Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f55b11

Browse files
committed
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.
1 parent d27ed85 commit 2f55b11

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,10 @@ html/acks.html: ACKS $(TOOLSDIR)/support.py $(TOOLSDIR)/mkackshtml
242242

243243
html/modindex.html: $(TOOLSDIR)/support.py $(TOOLSDIR)/mkmodindex
244244
html/modindex.html: html/lib/lib.html html/mac/mac.html
245-
$(TOOLSDIR)/mkmodindex --columns 4 --output html/modindex.html \
245+
(cd html; \
246+
../$(TOOLSDIR)/mkmodindex --columns 4 --output modindex.html \
246247
--address $(PYTHONDOCS) \
247-
html/lib/modindex.html html/mac/modindex.html
248+
lib/modindex.html mac/modindex.html)
248249

249250
html: $(INDEXFILES) html/index.html html/modindex.html html/acks.html
250251

0 commit comments

Comments
 (0)