From: Pekka Riikonen Date: Sun, 12 Aug 2001 13:55:09 +0000 (+0000) Subject: updates. X-Git-Tag: 1.2.beta1~1943 X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=commitdiff_plain;h=bfdbcd9090d921a4efca3071c9083f460eb94ee0 updates. --- diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 7feb7f82..0f4b2678 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -76,14 +76,18 @@ 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 "&nbps; > $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 @@ -91,6 +95,7 @@ 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