From: Pekka Riikonen Date: Sat, 11 Aug 2001 14:11:58 +0000 (+0000) Subject: updates X-Git-Tag: 1.2.beta1~1956 X-Git-Url: http://git.silcnet.org/gitweb/?p=crypto.git;a=commitdiff_plain;h=fcc93c200cb9b997939336ff912269a33ae0bbc2 updates --- diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 3aa46965..23c342f2 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -68,13 +68,14 @@ if [ "$TYPE" = "HTML" ]; then # Generate the index and TOC files from the DIRECTORY files files=`find $SRC -name "DIRECTORY"` - index=`find $SRC -name "INDEX"` - cat $index >$DST/index.html + index=`find $SRC -name "LIBINDEX"` + curdate=`date` + sed -e "/@DATE@/s//$curdate/" $index >$DST/index.html for i in $files do # Get library name - name=`grep $i "@LIBRARY=" |cut -d= -f2` - fname=`grep $i "@FILENAME" |cut -d= -f2` + name=`grep "@LIBRARY=" $i |cut -d= -f2` + fname=`grep "@FILENAME" $i |cut -d= -f2` # Generate the TOC file for the library sh gen.sh gen_toc.php $i $DST/$fname