scummvm/doc/doxygen/run_doxygen.sh
Thierry Crozat fe32ac1423 DOC: Add make rule and bash script to run doxygen
The output directory is not defined by the DOXYGEN_OUTPUT_DIRECTORY
environment variable instead of being hardcoded to `html`. Both the
make rule and the bash script set that variable to `html` by default,
but in the case of the bash script we can override it by defining
the variable in the environement before running the script.
2020-10-05 02:12:48 +01:00

9 lines
276 B
Bash
Executable File

#!/bin/bash
DOX_DIR="$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)"
if [ -z "$DOXYGEN_OUTPUT_DIRECTORY" ] ; then
export DOXYGEN_OUTPUT_DIRECTORY=${DOX_DIR}/html
fi
echo "Generating reference documentation in ${DOXYGEN_OUTPUT_DIRECTORY}..."
cd ${DOX_DIR}
doxygen scummvm.doxyfile