mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +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.
15 lines
370 B
Makefile
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
|