summaryrefslogtreecommitdiffstats
path: root/Doc/html/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-05 15:49:39 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-05 15:49:39 (GMT)
commit5d56d3665f53cdce6feacb42345504db9899520a (patch)
tree9a9c6368855802038421bb9dfddea834458b41f6 /Doc/html/Makefile
parent7d45f6dcc4883983ad33fde9fff0096636c3466e (diff)
downloadcpython-5d56d3665f53cdce6feacb42345504db9899520a.zip
cpython-5d56d3665f53cdce6feacb42345504db9899520a.tar.gz
cpython-5d56d3665f53cdce6feacb42345504db9899520a.tar.bz2
Make the documents that have indexes dependent on the buildindex.py
script.
Diffstat (limited to 'Doc/html/Makefile')
-rw-r--r--Doc/html/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/html/Makefile b/Doc/html/Makefile
index fa68632..29561c8 100644
--- a/Doc/html/Makefile
+++ b/Doc/html/Makefile
@@ -18,6 +18,8 @@ WEBCHECKER= $(PYTHON) $(TOPDIR)/../Tools/webchecker/webchecker.py
MKHTML= PAPER=$(PAPER) $(TOOLSDIR)/mkhtml.sh
KPSEWHICH= TEXINPUTS=$(TEXINPUTS) kpsewhich tex
+BUILDINDEX= $(TOOLSDIR)/buildindex.py
+
INDEXFILES=api/api.html \
ext/ext.html \
lib/lib.html \
@@ -43,21 +45,21 @@ tut: icons tut/tut.html
$(INDEXFILES): $(COMMONPERL) $(TOPDIR)/html/about.dat
-api/api.html: $(PAPERDIR)/api.aux
+api/api.html: $(PAPERDIR)/api.aux $(BUILDINDEX)
$(MKHTML) api $(L2HARGS)
ext/ext.html: $(PAPERDIR)/ext.aux
$(MKHTML) ext $(L2HARGS)
-lib/lib.html: $(PAPERDIR)/lib.aux
+lib/lib.html: $(PAPERDIR)/lib.aux $(BUILDINDEX)
$(TOOLSDIR)/fix_libaux.sed <`$(KPSEWHICH) lib.aux` >lib1.aux
mv lib1.aux `$(KPSEWHICH) lib.aux`
$(MKHTML) lib $(L2HARGS)
-mac/mac.html: $(MACFILES)
+mac/mac.html: $(MACFILES) $(BUILDINDEX)
$(TOOLSDIR)/mkhowto.sh --address '<hr>Send comments to <a href="mailto:python-docs@python.org">python-docs@python.org</a>.' --html $(TOPDIR)/mac/mac.tex
-ref/ref.html: $(PAPERDIR)/ref.aux
+ref/ref.html: $(PAPERDIR)/ref.aux $(BUILDINDEX)
$(MKHTML) ref $(L2HARGS)
tut/tut.html: $(PAPERDIR)/tut.aux