projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
05f2cfb
)
updates.
author
Pekka Riikonen
<priikone@silcnet.org>
Sun, 12 Aug 2001 13:55:09 +0000
(13:55 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sun, 12 Aug 2001 13:55:09 +0000
(13:55 +0000)
scripts/silcdoc/silcdoc
patch
|
blob
|
history
diff --git
a/scripts/silcdoc/silcdoc
b/scripts/silcdoc/silcdoc
index 7feb7f824212dd0063620ee40da2f2fe890ea592..0f4b26788aeb10af0d749b92ba346b99c85164e1 100755
(executable)
--- a/
scripts/silcdoc/silcdoc
+++ b/
scripts/silcdoc/silcdoc
@@
-76,14
+76,18
@@
if [ "$TYPE" = "HTML" ]; then
fname=`grep "@FILENAME=" $i |cut -d= -f2`
links=`grep "@LINK=" $i |cut -d= -f2 |cut -d: -f1`
fname=`grep "@FILENAME=" $i |cut -d= -f2`
links=`grep "@LINK=" $i |cut -d= -f2 |cut -d: -f1`
+ # Generate links to template file that can be included into various
+ # places on the webpage.
+ echo ">> <A HREF="$fname">$name"</A> >>$DST/index.tmpl
+
# Generate links for this library
for k in $links
do
n=`grep $k $i |cut -d= -f2 |cut -d: -f2`
echo "<LI><A HREF="$k">$n</A>" >>$DST/$fname.links
# Generate links for this library
for k in $links
do
n=`grep $k $i |cut -d= -f2 |cut -d: -f2`
echo "<LI><A HREF="$k">$n</A>" >>$DST/$fname.links
+ echo "&nbps; > <A HREF="$k">$n</A>" >>$DST/index.tmpl
done
sed -e "/@LINKS@/ r $DST/$fname.links" -e s/@LINKS@//g $i >$DST/$fname
done
sed -e "/@LINKS@/ r $DST/$fname.links" -e s/@LINKS@//g $i >$DST/$fname
- rm -f $DST/$fname.links
# Generate the TOC file for the library
sh gen.sh gen_toc.php $DST/$fname $DST/$fname
# Generate the TOC file for the library
sh gen.sh gen_toc.php $DST/$fname $DST/$fname
@@
-91,6
+95,7
@@
if [ "$TYPE" = "HTML" ]; then
# Generate the link for the top index.html for this library
echo "<LI><A HREF="$fname">$name</A>" >>$DST/index.html.tmp
# Generate the link for the top index.html for this library
echo "<LI><A HREF="$fname">$name</A>" >>$DST/index.html.tmp
+ rm -f $DST/$fname.links
done
# Generate the top index.html file
done
# Generate the top index.html file