summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-18 16:02:14 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-18 16:02:14 (GMT)
commitdd94676865b4057865aad7e3130151147c6bc410 (patch)
treeefee124e5802bbf7d62e90964438b0d4543b40e1
parentb0df56789762c4c82ac125672263d52de89ec5f7 (diff)
downloadcpython-dd94676865b4057865aad7e3130151147c6bc410.zip
cpython-dd94676865b4057865aad7e3130151147c6bc410.tar.gz
cpython-dd94676865b4057865aad7e3130151147c6bc410.tar.bz2
Added libsymbol.tex, libtoken.tex to dependencies for the libref.
New targets: ???-all, for each document. This creates all formats of the named document (DVI, HTML, PDF, PS). l2hlib: Added commands to translate node*.html to use the \label{} stuff, as supported by Jeremy's node2html.pl. This gives us mostly bookmarkable nodes.
-rw-r--r--Doc/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 9d91526..4725b27 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -95,6 +95,13 @@ lib: lib.ps
ext: ext.ps
api: api.ps
+# All formats for a single document
+api-all: api.dvi api.pdf api.ps l2hapi
+ext-all: ext.dvi ext.pdf ext.ps l2hext
+lib-all: lib.dvi lib.pdf lib.ps l2hlib
+tut-all: tut.dvi tut.pdf tut.ps l2htut
+
+
# Rules to build PostScript and PDF formats
.SUFFIXES: .dvi .ps .pdf
@@ -155,7 +162,7 @@ LIBFILES = lib.tex \
libmailbox.tex libcommands.tex libcmath.tex libni.tex libgzip.tex \
libpprint.tex libcode.tex libmimify.tex libre.tex libmacic.tex \
libuserdict.tex libdis.tex libxmllib.tex libqueue.tex \
- liblocale.tex libbasehttp.tex libcopyreg.tex
+ liblocale.tex libbasehttp.tex libcopyreg.tex libsymbol.tex libtoken.tex
# Library document
lib.dvi: modindex.py indfix.py $(LIBFILES)
@@ -257,7 +264,9 @@ l2hext: ext.dvi myformat.perl
l2hlib: lib.dvi myformat.perl
./fix_libaux.sed <lib.aux >lib1.aux
mv lib1.aux lib.aux
+ if [ -d lib ] ; then rm -f lib/*.html ; fi
$(L2H) $(L2HARGS) lib.tex
+ (cd lib; ../node2label.pl footnode.html lib.html node*.html)
sed 's/^<P CLASS=ABSTRACT>,/<P CLASS=ABSTRACT>/' \
<lib/lib.html >lib/xxx
mv lib/xxx lib/lib.html