mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 09:48:39 +00:00
fe32ac1423
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.
9 lines
276 B
Bash
Executable File
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
|