From: Pekka Riikonen Date: Sun, 12 Aug 2001 13:42:25 +0000 (+0000) Subject: updates. X-Git-Tag: 1.2.beta1~1934 X-Git-Url: http://git.silcnet.org/gitweb/?p=runtime.git;a=commitdiff_plain;h=05f2cfbe22b6e2754c77658c56112e9cebf5044c updates. --- diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 0682dec0..7feb7f82 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -76,18 +76,14 @@ if [ "$TYPE" = "HTML" ]; then fname=`grep "@FILENAME=" $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 n=`grep $k $i |cut -d= -f2 |cut -d: -f2` echo "
  • $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 @@ -95,7 +91,6 @@ if [ "$TYPE" = "HTML" ]; then # Generate the link for the top index.html for this library echo "
  • $name" >>$DST/index.html.tmp - rm -f $DST/$fname.links done # Generate the top index.html file