]> granicus.if.org Git - python/commitdiff
Added libsymbol.tex, libtoken.tex to dependencies for the libref.
authorFred Drake <fdrake@acm.org>
Wed, 18 Feb 1998 16:02:14 +0000 (16:02 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 18 Feb 1998 16:02:14 +0000 (16:02 +0000)
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.

Doc/Makefile

index 9d915269c7f33495dc89504a83ca048a9f87c787..4725b271f0a8a683b30d2571d9f66600dba20401 100644 (file)
@@ -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