From fcc93c200cb9b997939336ff912269a33ae0bbc2 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Sat, 11 Aug 2001 14:11:58 +0000 Subject: [PATCH] updates --- scripts/silcdoc/silcdoc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.24.0