From: Pekka Riikonen Date: Sun, 12 Aug 2001 13:32:38 +0000 (+0000) Subject: updates. X-Git-Tag: 1.2.beta1~1945 X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=commitdiff_plain;h=99ccb50fa3a76e93c2129584b13fb0bd75ffb2c9 updates. --- diff --git a/lib/silcutil/DIRECTORY b/lib/silcutil/DIRECTORY index f95ddcc7..99b7cf89 100644 --- a/lib/silcutil/DIRECTORY +++ b/lib/silcutil/DIRECTORY @@ -3,19 +3,19 @@ @FILENAME=silcutillib.html @LINK=silcbuffer.html:SILC Buffer API @LINK=silcbuffmt.html:SILC Buffer Format API -@LINK=silcbufutil.html:SILC Buffer Utility API -@LINK=silchashtable.html:SILC Hash Table API -@LINK=silclog.html:SILC Log and Debug API -@LINK=silcmemory.html:SILC Memory API -@LINK=silcmutex.html:SILC Mutex API -@LINK=silcthread.html:SILC Thread API -@LINK=silcnet.html:SILC Net API -@LINK=silcschedule.html:SILC Schedule API -@LINK=silcsockconn.html:SILC Socket Connection API -@LINK=silcutil.html:SILC Util API -@LINK=silczip.html:SILC Zip API -@LINK=silclist.html:SILC List API -@LINK=silcdlist.html:SILC Dynamic List API +@LINK="silcbufutil.html:SILC Buffer Utility API +@LINK="silchashtable.html:SILC Hash Table API +@LINK="silclog.html:SILC Log and Debug API +@LINK="silcmemory.html:SILC Memory API +@LINK="silcmutex.html:SILC Mutex API +@LINK="silcthread.html:SILC Thread API +@LINK="silcnet.html:SILC Net API +@LINK="silcschedule.html:SILC Schedule API +@LINK="silcsockconn.html:SILC Socket Connection API +@LINK="silcutil.html:SILC Util API +@LINK="silczip.html:SILC Zip API +@LINK="silclist.html:SILC List API +@LINK="silcdlist.html:SILC Dynamic List API -->
    diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 3ad16e63..0682dec0 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -74,17 +74,20 @@ if [ "$TYPE" = "HTML" ]; then # Get library name name=`grep "@LIBRARY=" $i |cut -d= -f2` fname=`grep "@FILENAME=" $i |cut -d= -f2` - links=`grep "@LINK=" $i |cut -d= -f2` + links=`grep "@LINK=" $i |cut -d= -f2 |cut -d: -f1` + + # Generate links to template file that can be included into various + # places on the webpage. + echo ">> $name
    " >>$DST/index.tmpl # Generate links for this library for k in $links do - l=`echo $k |cut -d: -f1` - n=`echo $k |cut -d: -f2` - echo "
  1. $n" >>$DST/$fname.links + n=`grep $k $i |cut -d= -f2 |cut -d: -f2` + echo "
  2. $n" >>$DST/$fname.links + echo "  > $n
    " >>$DST/index.tmpl done sed -e "/@LINKS@/ r $DST/$fname.links" -e s/@LINKS@//g $i >$DST/$fname - rm -f $DST/$fname.links # Generate the TOC file for the library sh gen.sh gen_toc.php $DST/$fname $DST/$fname @@ -92,6 +95,7 @@ if [ "$TYPE" = "HTML" ]; then # Generate the link for the top index.html for this library echo "
  3. $name" >>$DST/index.html.tmp + rm -f $DST/$fname.links done # Generate the top index.html file