URL
https://opencores.org/ocsvn/w11/w11/trunk
Subversion Repositories w11
[/] [w11/] [tags/] [w11a_V0.74/] [tools/] [dox/] [make_doxy] - Rev 38
Compare with Previous | Blame | View Log
#!/bin/sh
# $Id: make_doxy 563 2014-06-22 15:49:09Z mueller $
#
# Revision History:
# Date Rev Version Comment
# 2014-06-18 563 1.0.1 BUGFIX: create directories, fix 'to view use' text
# 2013-02-05 482 1.0 Initial version
#
if [ -z "$RETROBASE" ]
then
echo "RETROBASE not defined"
exit 1
fi
#
if [ -z "$RETRODOXY" ]
then
echo "RETRODOXY defaulted to /tmp"
export RETRODOXY=/tmp
fi
#
if [ ! -d "$RETRODOXY" ]
then
echo "$RETRODOXY doesn't exist"
exit 1
fi
#
if [ ! -d "$RETRODOXY/w11" ]; then mkdir $RETRODOXY/w11; fi
#
if [ ! -d "$RETRODOXY/w11/cpp" ]; then mkdir $RETRODOXY/w11/cpp; fi
if [ ! -d "$RETRODOXY/w11/tcl" ]; then mkdir $RETRODOXY/w11/tcl; fi
if [ ! -d "$RETRODOXY/w11/vhd" ]; then mkdir $RETRODOXY/w11/vhd; fi
#
doxygen w11_cpp.Doxyfile 2>&1 | tee w11_cpp.dox_log
doxygen w11_tcl.Doxyfile 2>&1 | tee w11_tcl.dox_log
doxygen w11_vhd_all.Doxyfile 2>&1 | tee w11_vhd_all.dox_log
#
#
echo ""
echo "to view use"
echo " firefox $RETRODOXY/w11/cpp/html/index.html &"
echo " firefox $RETRODOXY/w11/tcl/html/index.html &"
echo " firefox $RETRODOXY/w11/vhd/html/index.html &"