summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-31 07:00:17 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-31 07:00:17 (GMT)
commit501b926da9ae96f1723480ef7bc67099a4e5018a (patch)
tree122fe4730e566ce3a99af3309e3be177fb4ec4e9
parentdfa539d7702e308787f8c8d2000023f8abd72b60 (diff)
downloadcpython-501b926da9ae96f1723480ef7bc67099a4e5018a.zip
cpython-501b926da9ae96f1723480ef7bc67099a4e5018a.tar.gz
cpython-501b926da9ae96f1723480ef7bc67099a4e5018a.tar.bz2
Move common parameters to mkhowto to a variable, add up-link from the
generated documents to the document index.
-rw-r--r--Doc/html/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/Doc/html/Makefile b/Doc/html/Makefile
index 0778fb8..d0fb140 100644
--- a/Doc/html/Makefile
+++ b/Doc/html/Makefile
@@ -12,7 +12,10 @@ TEXINPUTS=$(TOPDIR)/paper-$(PAPER):$(TOPDIR)/texinputs:
# Where are the various programs?
PYTHON= python
WEBCHECKER=$(PYTHON) $(TOPDIR)/../Tools/webchecker/webchecker.py
-MKHOWTO= $(TOOLSDIR)/mkhowto
+MKHOWTO= $(TOOLSDIR)/mkhowto --about $(TOPDIR)/html/stdabout.dat \
+ --up-link ../index.html --up-title "Document Index" \
+ --address $(PYTHONDOCS)
+MKHTML= $(MKHOWTO) --html
BUILDINDEX=$(TOOLSDIR)/buildindex.py
@@ -62,41 +65,32 @@ modindex.html: lib/lib.html mac/mac.html $(TOOLSDIR)/mkmodindex
lib/modindex.html mac/modindex.html
api/api.html: $(APIFILES) $(BUILDINDEX)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/api/api.tex
+ $(MKHTML) $(TOPDIR)/api/api.tex
doc/doc.html: $(DOCFILES) $(BUILDINDEX)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/doc/doc.tex
+ $(MKHTML) $(TOPDIR)/doc/doc.tex
ext/ext.html: $(EXTFILES)
echo $(EXTFILES)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/ext/ext.tex
+ $(MKHTML) $(TOPDIR)/ext/ext.tex
lib/lib.html: $(LIBFILES) $(BUILDINDEX)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/lib/lib.tex
+ $(MKHTML) $(TOPDIR)/lib/lib.tex
mac/mac.html: $(MACFILES) $(BUILDINDEX)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/mac/mac.tex
+ $(MKHTML) $(TOPDIR)/mac/mac.tex
ref/ref.html: $(REFFILES) $(BUILDINDEX)
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/ref/ref.tex
+ $(MKHTML) $(TOPDIR)/ref/ref.tex
tut/tut.html: $(TUTFILES) $(TOOLSDIR)/mkhowto
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html --numeric --split 3 $(TOPDIR)/tut/tut.tex
+ $(MKHTML) --numeric --split 3 $(TOPDIR)/tut/tut.tex
inst/inst.html: $(INSTFILES) $(TOPDIR)/perl/distutils.perl
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/inst/inst.tex
+ $(MKHTML) $(TOPDIR)/inst/inst.tex
dist/dist.html:$(DISTFILES) $(TOPDIR)/perl/distutils.perl
- $(MKHOWTO) --about stdabout.dat --address $(PYTHONDOCS) \
- --html $(TOPDIR)/dist/dist.tex
+ $(MKHTML) $(TOPDIR)/dist/dist.tex
webcheck: all
$(WEBCHECKER) $(HTMLBASE)/api/