3 HTML="buildlogs/index.html"
7 for VERSION in `ls buildlogs|grep -v html` ; do
8 echo "XXXX Version $VERSION"
9 echo "<h3>$VERSION</h3><table border=1>" >> $HTML
10 for file in `ls buildlogs/$VERSION/*.log`; do
12 host=`basename $file .log`
14 ## Extract the output from config.log
15 cat buildlogs/$VERSION/$file | \
17 -e '/CONFIG-LOG-DUMP-BEGIN/ { ' \
20 -e ' /CONFIG-LOG-DUMP-END/Q' \
27 >buildlogs/$VERSION/$host.config
28 cat buildlogs/$VERSION/$file | \
30 -e '/CONFIG-LOG-DUMP-BEGIN/Q'\
35 >buildlogs/$VERSION/$host.output
37 ## Extract some info out there
38 last=`tail -n 1 buildlogs/$VERSION/$file`
39 sys=`grep "checking target system type..." buildlogs/$VERSION/$file| \
40 sed 's/checking target system type...//'`
42 ## Make text and html outputs
43 if [ "x$last" = "xRemote compilation sucessful." ] ; then
50 echo "<tr <td><a href=$VERSION/$host.output>$res</a>" >> $HTML
51 echo " <td bgcolor='$color'>$host" >> $HTML
52 echo " <td><a href=$VERSION/$host.config>$sys</a>" >> $HTML
54 echo "$res $host $sys"
56 echo "</table>" >> $HTML
58 echo "</html>" >>$HTML