1
0
mirror of https://github.com/wfjm/w11.git synced 2026-01-16 00:34:27 +00:00
wfjm.w11/tools/dox/make_doxy
Walter F.J. Mueller 093d540121 - The div instruction gave wrong results in some corner cases when either
divisor or quotient were the largest negative integer (100000 or -32768).
  This is corrected now, for details see ECO-026-div.txt
- some minor updates and fixes to support scripts
- xtwi usage and XTWI_PATH setup explained in INSTALL.txt
2014-08-10 14:32:48 +00:00

43 lines
1.1 KiB
Bash
Executable File

#!/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 &"