projects
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9379283
)
updates
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 11 Aug 2001 14:11:58 +0000
(14:11 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 11 Aug 2001 14:11:58 +0000
(14:11 +0000)
scripts/silcdoc/silcdoc
patch
|
blob
|
history
diff --git
a/scripts/silcdoc/silcdoc
b/scripts/silcdoc/silcdoc
index 3aa4696532bb4a1351bf425b187732dd9606712f..23c342f24e5839acd0c06cb169563a71734dee39 100755
(executable)
--- 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"`
# 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
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
# Generate the TOC file for the library
sh gen.sh gen_toc.php $i $DST/$fname