cantera/bin/view_doxygen
Harry Moffat 8793fc3bcb Doxygen update
Doxygen is currently broken. This commit starts to fix some issues.
2013-02-01 18:59:17 +00:00

43 lines
667 B
Bash
Executable file

#!/bin/sh
#
#
location='build'
CUR=`pwd`
# echo $CUR
CANTERA_SRC_ROOT=${CANTERA_SRC_ROOT:="$CUR"}
echo hhh = $CANTERA_SRC_ROOT
CANTERA_INSTALL_DIR=${CANTERA_INSTALL_ROOT:="$CUR"}
if test $# -gt 0
then
locat=$1
echo locat = $locat
if [ $locat == 'install' ]
then
location='install'
fi
if [ $locat == 'build' ]
then
location='build'
fi
fi
startpg=$CANTERA_SRC_ROOT/build/docs/doxygen/html/index.html
if [ $location == 'build' ]
then
startpg=$CANTERA_SRC_ROOT/build/docs/doxygen/html/index.html
elif [ $location == 'install' ]
then
startpg=$CANTERA_INSTALL_DIR/share/cantera/doc/doxygen/html/index.html
fi
#
#
firefox $startpg &
exit 0;