X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=scripts%2Fsilcdoc%2Fsilcdoc;h=9f7bffcea37b942ee9d6c6fc55c8051752820af1;hp=57bb940018db6a6450f29c73ab17856235d984f0;hb=816a5b080c797c0db47b7b274a85646343c3466e;hpb=c257b555225193e54d85daf541d29578b3c93882 diff --git a/scripts/silcdoc/silcdoc b/scripts/silcdoc/silcdoc index 57bb9400..9f7bffce 100755 --- a/scripts/silcdoc/silcdoc +++ b/scripts/silcdoc/silcdoc @@ -196,7 +196,7 @@ if [ "$TYPE" = "HTML" ]; then # Generate the top index.html file index=`find $SRC -name "LIBINDEX"` - version=`grep SILC_VERSION_STRING $SRC/../includes/version_internal.h |cut -d\" -f2` + version=`grep "define SILC_VERSION_STRING" $SRC/../includes/silcversion.h |cut -d\" -f2` curdate=`date` sed -e "/@VERSION@/s//$version/" -e "/@DATE@/s//$curdate/" -e "/@BODY@/ r $DST/index.html.tmp" -e s/@BODY@//g $index >$DST/index.html sh gen.sh $DST gen_index.php 2 $DST/index.html $DST/index.html