summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-07-24 15:42:12 (GMT)
committerFred Drake <fdrake@acm.org>1998-07-24 15:42:12 (GMT)
commit34116ba9331c94f816d4c5e0ff37cd9f89546a42 (patch)
tree38ae69ae40f7eff7da7c9dc42840d6026e007724 /Doc/Makefile
parent7c0240f11235bb24778ba4e9484ce683497b4ca2 (diff)
downloadcpython-34116ba9331c94f816d4c5e0ff37cd9f89546a42.zip
cpython-34116ba9331c94f816d4c5e0ff37cd9f89546a42.tar.gz
cpython-34116ba9331c94f816d4c5e0ff37cd9f89546a42.tar.bz2
Remove all-<format> targets in favor of just <format>.
Fix some comments. For lib.pdf, run tools/toc2bkm.py to get "bookmarks" in acroread.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 378e4b4..4bd58e8 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -7,6 +7,7 @@
# api -- Python/C API Reference Manual
# ext -- Extending and Embedding the Python Interpreter
# lib -- Library Reference Manual
+# mac -- Macintosh Library Modules
# ref -- Python Reference Manual
# tut -- Python Tutorial
#
@@ -33,13 +34,15 @@
# Additional targets attempt to convert selected LaTeX sources to
# various other formats. These are generally site specific because
# the tools used are all but universal. These targets are:
-# l2h -- convert tut, ref, lib, ext, api from LaTeX to HTML
+#
+# html -- convert all documents from LaTeX to HTML
+#
# See the README file for more info on these targets.
#
# The formatted output is located in subdirectories. For PDF and
# PostScript, look in the paper-$(PAPER)/ directory. For HTML, look in
-# the html/ directory. If you fix the GNU info process, look in the
-# info/ directory.
+# the html/ directory. If you want to fix the GNU info process, look
+# in the info/ directory.
# Customizations -- you *may* have to edit these
@@ -97,24 +100,24 @@ MKHTML= PAPER=$(PAPER) $(srcdir)/tools/mkhtml.sh
MKPDF= TEXINPUTS=$(TEXINPUTS) $(srcdir)/tools/mkdvi.sh --pdf
# Main target
-all: all-ps
+all: ps
-all-dvi dvi:
+dvi:
(cd paper-$(PAPER); \
$(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) \
-f ../Makefile do-dvi)
-all-pdf pdf:
+pdf:
(cd paper-$(PAPER); \
$(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) \
-f ../Makefile do-pdf)
-all-ps ps:
+ps:
(cd paper-$(PAPER); \
$(MAKE) srcdir=.. VPATH=.. TEXINPUTS=$(TEXINPUTS) \
-f ../Makefile do-ps)
-world: all-ps all-pdf l2h tarballs
+world: ps pdf html tarballs
# Targets for each document:
@@ -262,6 +265,7 @@ lib.pdf: tools/indfix.py $(LIBFILES)
$(srcdir)/tools/fix_hack $*.idx
$(MAKEINDEX) $*.idx
$(srcdir)/tools/indfix.py $*.ind
+ $(srcdir)/tools/toc2bkm.py $*
TEXINPUTS=$(srcdir)/lib:$(TEXINPUTS) $(PDFLATEX) $*
# Python/C API Reference Manual
@@ -321,9 +325,7 @@ info:
COMMONPERL=perl/manual.perl perl/python.perl
-html: l2h
-
-l2h:
+l2h html:
(cd $(HTMLDIR); $(MAKE) TEXINPUTS=../paper-$(PAPER):../texinputs: \
-f ../html/Makefile)