X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=scripts%2Fsilcdoc%2Fsilcdoc;h=8425249ec14c828c0fb9f2fc2e139b764bed43c7;hp=9f7bffcea37b942ee9d6c6fc55c8051752820af1;hb=d1e71f42379e8b5cd0748a7aeae8561b02cfe53d;hpb=34bb35a2496ec0402bb4d6c2546147cd37b27007 diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 9f7bffce..8425249e 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -104,7 +104,7 @@ if [ "$TYPE" = "HTML" ]; then for i in $dfiles do # Get library name - name=`grep "@LIBRARY=" $i |cut -d= -f2` + name=`grep "@LIBRARY=" $i |cut -d= -f2-` fname=`grep "@FILENAME=" $i |cut -d= -f2` links=`grep "@LINK=" $i |cut -d= -f2 |cut -d: -f1` @@ -113,7 +113,7 @@ if [ "$TYPE" = "HTML" ]; then echo "$name
" >>$DST/index.tmpl for k in $links do - n=`grep $k $i |cut -d= -f2 |cut -d: -f2` + n=`grep $k $i |cut -d= -f2 |cut -d: -f2-` echo "
  • $n" >>$DST/$fname.links echo "    $n
    " >>$DST/index.tmpl done @@ -170,7 +170,7 @@ if [ "$TYPE" = "HTML" ]; then files=`find $DST -name ""$i"-*.html"` for k in $files do - sh gen.sh $DST gen_index.php 0 $k $k + sh gen.sh $DST gen_index.php 0 "$k" "$k" done rm -f $DST/$i-index.tmpl @@ -180,7 +180,7 @@ if [ "$TYPE" = "HTML" ]; then for i in $dfiles do # Get library name - name=`grep "@LIBRARY=" $i |cut -d= -f2` + name=`grep "@LIBRARY=" $i |cut -d= -f2-` fname=`grep "@FILENAME=" $i |cut -d= -f2` # Generate links for this library