scummvm/doc/module.mk
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

15 lines
370 B
Makefile

DOXYGEN_OUTPUT_DIRECTORY := html
export DOXYGEN_OUTPUT_DIRECTORY
doxygen:
@echo "Generating reference documentation in $(srcdir)/doc/doxygen/${DOXYGEN_OUTPUT_DIRECTORY}..."
@cd $(srcdir)/doc/doxygen ; doxygen scummvm.doxyfile
clean-doxygen:
rm -rf $(srcdir)/doc/doxygen/html
rm -f $(srcdir)/doc/doxygen/doxygen_warnings.txt
doc: doxygen
clean-doc: clean-doxygen