From dd94676865b4057865aad7e3130151147c6bc410 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Wed, 18 Feb 1998 16:02:14 +0000
Subject: 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.
---
 Doc/Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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
-- 
cgit v0.12

