File indexing completed on 2024-04-06 12:31:46
0001
0002
0003 cd $DEPDIR
0004
0005 rm -f index*.html
0006 { echo "<HEAD><TITLE>$APP Dependency Information</TITLE></HEAD>"
0007 echo "<FRAMESET BORDER=1 ROWS='50%, *'>"
0008 echo " <FRAME SRC='index-links.html' NAME='DIAGRAMS'>"
0009 echo " <FRAME SRC='dependencies.txt' NAME='GIF'>"
0010 echo "</FRAMESET>"
0011 echo "</HTML>"
0012 } > index.html
0013
0014 { echo "<HEAD><TITLE>$APP Dependency Information</TITLE></HEAD>"
0015 echo "<BODY BGCOLOR='#ffffff'>"
0016 echo "<H1>$APP Dependency Information</H1>"
0017 echo "<P><A TARGET='GIF' HREF='dependencies.txt'>Dependency data</A></P>"
0018 echo "<P><A TARGET='GIF' HREF='xdeps.html'>Dependency statistics</A></P>"
0019 echo "<P><A TARGET='GIF' HREF='metrics'>Metrics</A></P>"
0020 echo "<P><A TARGET='GIF' HREF='log.gz'>Log</A> | <A TARGET='GIF' HREF='logwarnings'>Warnings only</A></P>"
0021 echo "<P>Extra detail: <A TARGET='GIF' HREF='xdeps.all'>All</A> |"
0022 echo "<A TARGET='GIF' HREF='xdeps.inc'>Includes</A> | <A TARGET='GIF' HREF='xdeps.incdetail'>Includes (detailed)</A> |"
0023 echo "<A TARGET='GIF' HREF='xdeps.lib'>Libraries</A> | <A TARGET='GIF' HREF='xdeps.lib-raw'>Libraries (raw)</A></P>"
0024 echo "<P><HR BORDER='1'>"
0025 echo "<P>C: Concentrated; L: Logical; M: Maximial Logical; R: Restricted to Domain<BR>"
0026 echo "B: Binary Only; PP: PACKAGE Dependencies<BR>"
0027 echo "P: By Package Purpose; O: By Package Origin<BR>"
0028 echo "S: Only longest edges kept</P>"
0029 echo "<TABLE BORDER='0'>"
0030 echo "<TR BGCOLOR='#ffff00'><TH COLSPAN='2'>Diagram</TH><TH COLSPAN='5'>Plots</TH></TR>"
0031 for f in *.gif; do
0032 [ -f $f ] || continue
0033 base=`echo $f | sed 's/\.[^.]*$//'`
0034 ps=$base.ps
0035 gif=$base.gif
0036 name="`echo $base|sed 's/^[A-Z0-9]*-//;s/^0[012]-//;s/-/ /g'`"
0037 namebeg="`echo $base|sed 's/^[A-Z0-9]*-//;s/^0[012]-//;s/-[A-Z]*$//;s/-/ /g'`"
0038 nametrail="`echo $base|sed 's/.*-\([A-Z]*\)$/\1/'`"
0039 [ $nametrail = $base ] && nametrail=' '
0040
0041 echo "<TR>"
0042 echo " <TD>$nametrail</TD>"
0043 echo " <TD><A NAME='$base'>$namebeg</A></TD>"
0044 echo " <TD><A TARGET="GIF" HREF='$gif.html'>GIF</A></TD>"
0045 echo " <TD>| <A HREF='$ps.gz'>PS</A></TD>"
0046 if [ -f A4-$ps ]; then
0047 echo " <TD>| <A HREF='A4-$ps.gz'>PS (A4 scaled)</A></TD>"
0048 else
0049 echo " <TD>| PS (A4 scaled)</TD>"
0050 fi
0051 if [ -f $base.hpgl ]; then
0052 echo " <TD>| <A HREF='$base.hpgl'>HPGL</A></TD>"
0053 else
0054 echo " <TD>| HPGL</TD>"
0055 fi
0056
0057 echo " <TD>| <A HREF='$base.dot'>DOT</A></TD>"
0058 echo "</TR>"
0059
0060 { echo "<HEAD><TITLE>$APP Dependency Information: $name</TITLE></HEAD>"
0061 echo "<BODY BGCOLOR='#ffffff'>"
0062 echo "<H1>$APP Dependency Information: $name</H1>"
0063 echo "<P><IMG BORDER='0' SRC='$f' USEMAP='#MAP-${base}'>"
0064 ps2map --target=DIAGRAMS `grep "^$base " .scales | sed 's/^/MAP-/'` $ps
0065 } > $gif.html
0066 done
0067 echo "</TABLE>"
0068 } > index-links.html
0069
0070 gzip --best log *.ps