summaryrefslogtreecommitdiffstats
path: root/Doc/html/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-29 17:04:21 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-29 17:04:21 (GMT)
commit664c72f8a146e5da144bc4c6dc13641c9976cfd2 (patch)
tree653157094dd1bdef071f4de2f232cd9173ac1d50 /Doc/html/Makefile
parentd09120b5b91ef286c030fcf5e45a9fe324093d2d (diff)
downloadcpython-664c72f8a146e5da144bc4c6dc13641c9976cfd2.zip
cpython-664c72f8a146e5da144bc4c6dc13641c9976cfd2.tar.gz
cpython-664c72f8a146e5da144bc4c6dc13641c9976cfd2.tar.bz2
Move index.html rules to the end since it wedges font-lock.
Remember to delete index.html for clobber since it is now generated..
Diffstat (limited to 'Doc/html/Makefile')
-rw-r--r--Doc/html/Makefile32
1 files changed, 19 insertions, 13 deletions
diff --git a/Doc/html/Makefile b/Doc/html/Makefile
index 11c3d45..1d322bd 100644
--- a/Doc/html/Makefile
+++ b/Doc/html/Makefile
@@ -54,22 +54,13 @@ tut: tut/tut.html
$(INDEXFILES): $(COMMONPERL) $(TOPDIR)/html/about.dat
+# The index.html target is at the end since it screws up font-lock.
+
modindex.html: lib/lib.html mac/mac.html $(TOOLSDIR)/mkmodindex
$(TOOLSDIR)/mkmodindex --columns 4 --output modindex.html \
--address $(PYTHONDOCS) \
lib/modindex.html mac/modindex.html
-# This is really ugly, but we're not dependent on $(RELEASE), which isn't
-# defined here. It also maintains the proper dependency on boilerplate.tex.
-
-BOILERPLATE=$(TOPDIR)/texinputs/boilerplate.tex
-index.html: index.html.in $(BOILERPLATE)
- REL=`grep '\\release{' $(BOILERPLATE) | sed 's/.*\\release{\(.*\)}.*$$/\1/'` ; \
- sed "s/@RELEASE@/$$REL/g" $< >TEMP
- DATE=`grep '\\date{' $(BOILERPLATE) | sed 's/.*\\date{\(.*\)}.*$$/\1/'` ; \
- sed "s/@DATE@/$$DATE/g" TEMP >$@
- rm -f TEMP
-
api/api.html: $(PAPERDIR)/api.aux $(BUILDINDEX)
$(MKHTML) api $(L2HARGS)
@@ -93,7 +84,7 @@ ref/ref.html: $(PAPERDIR)/ref.aux $(BUILDINDEX)
$(MKHTML) ref $(L2HARGS)
tut/tut.html: $(PAPERDIR)/tut.aux
- $(MKHTML) tut $(L2HARGS)
+ $(MKHTML) tut $(L2HARGS) -split 4
include ../Makefile.deps
@@ -127,4 +118,19 @@ clean:
rm -rf @webchecker.pickle
clobber: clean
- rm -rf api/ doc/ ext/ lib/ mac/ ref/ tut/
+ rm -rf index.html api/ doc/ ext/ lib/ mac/ ref/ tut/
+
+
+# This is really ugly, but we're not dependent on $(RELEASE), which isn't
+# defined here. It also maintains the proper dependency on boilerplate.tex.
+
+# It's at the end of the file since it wedges font-lock in XEmacs.
+
+BOILERPLATE=$(TOPDIR)/texinputs/boilerplate.tex
+index.html: index.html.in $(BOILERPLATE)
+ REL=`grep '\\release{' $(BOILERPLATE) | sed 's/.*\\release{\(.*\)}.*$$/\1/'` ; \
+ sed "s/@RELEASE@/$$REL/g" $< >TEMP
+ DATE=`grep '\\date{' $(BOILERPLATE) | sed 's/.*\\date{\(.*\)}.*$$/\1/'` ; \
+ sed "s/@DATE@/$$DATE/g" TEMP >$@
+ rm -f TEMP
+