updates
authorPekka Riikonen <priikone@silcnet.org>
Sat, 11 Aug 2001 14:11:58 +0000 (14:11 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 11 Aug 2001 14:11:58 +0000 (14:11 +0000)
lib/LIBINDEX [new file with mode: 0644]
lib/silcclient/DIRECTORY
lib/silccore/DIRECTORY
scripts/silcdoc/silcdoc

diff --git a/lib/LIBINDEX b/lib/LIBINDEX
new file mode 100644 (file)
index 0000000..277227c
--- /dev/null
@@ -0,0 +1,10 @@
+<!--
+ Index file for SILC Toolkit Reference Manual. This file is processed with
+ the SILC Document generator.
+-->
+
+<FONT SIZE="+3" COLOR="#000044"><B>SILC Toolkit Reference Manual</B></FONT>
+<BR>
+Copyright (C) GNU GPL 2001 The SILC Project<BR>
+@DATE@
+<BR><BR>
index 5ff3a03e8eae6e5056733c84bafab09cece03352..ef45db46ad680a81149db29d184d6a4c8b37e965 100644 (file)
@@ -6,7 +6,7 @@
 <OL>
 <FONT SIZE="+3">SILC Client Library</FONT><BR><BR>
 <FONT SIZE="+1" COLOR="#000044"><B>Introduction</B></FONT><BR><BR>
-<PRE>
+<PRE><FONT FACE="Helvetica,Arial,Sans-serif">
 SILC Client Library is SILC Client implementation without the actual user 
 interface. The library uses common and core components of SILC protocol from
 lib/silccore library and normal utility routines from lib/silcutil library.
@@ -23,6 +23,7 @@ it wants.  The library is entirely transparent to the user interface and
 it does not include any user interface specific issues such as window
 handling or item handling on the screen etc.  These does not interest
 the library.
+</FONT>
 </PRE>
 
 <LI><A HREF="silcapi.html">SILC Client API</A>
index 963eced59589725d72af9376c9572a4535941b07..849dc0e20e8bed8f67d0903302d41af4f51690ec 100644 (file)
@@ -6,11 +6,12 @@
 <OL>
 <FONT SIZE="+3">SILC Core Library</FONT><BR><BR>
 <FONT SIZE="+1" COLOR="#000044"><B>Introduction</B></FONT><BR><BR>
-<PRE>
+<PRE><FONT FACE="Helvetica,Arial,Sans-serif">
 SILC Core Library includes all the core components of the SILC Protocol.
 It provides routines to encode and decode all SILC packet payloads defined
 in the protocol specification.  It provides packet assembling and parsing
 routines, and routines for sending private message and channel messages.
+</FONT>
 </PRE>
 
 <LI><A HREF="silcauth.html">SILC Auth API</A>
index 23c342f24e5839acd0c06cb169563a71734dee39..75136813db79e31bbf0532838c2765282c9bd272 100755 (executable)
@@ -68,9 +68,7 @@ if [ "$TYPE" = "HTML" ]; then
 
   # Generate the index and TOC files from the DIRECTORY files
   files=`find $SRC -name "DIRECTORY"`
-  index=`find $SRC -name "LIBINDEX"`
-  curdate=`date`
-  sed -e "/@DATE@/s//$curdate/" $index >$DST/index.html
+  touch $DST/index.html.tmp
   for i in $files
   do
     # Get library name
@@ -82,12 +80,16 @@ if [ "$TYPE" = "HTML" ]; then
     sh gen.sh index.php $DST/$fname $DST/$fname
 
     # Generate the link for the top index.html for this library
-    echo "<LI><A HREF="$fname">$name</A>" >>$DST/index.html
+    echo "<LI><A HREF="$fname">$name</A>" >>$DST/index.html.tmp
   done
 
   # Generate the top index.html file
+  index=`find $SRC -name "LIBINDEX"`
+  curdate=`date`
+  sed -e "/@DATE@/s//$curdate/" -e "/@BODY@/ r $DST/index.html.tmp" -e s/@BODY@//g $index >$DST/index.html
   sh gen.sh gen_toc.php $DST/index.html $DST/index.html
   sh gen.sh index.php $DST/index.html $DST/index.html
 
+  rm -rf $DST/index.html.tmp
   rm -rf /tmp/silcdoc.html
 fi