Commit 149c4e44 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[doxygen] Add auto-deletion of the html folder, so that doxygen always builds a new documentation

parent 5615770a
......@@ -4,8 +4,11 @@
MACRO (add_dumux_doxygen_target)
if(DOXYGEN_FOUND)
add_doxygen_target()
add_custom_target(doxygen_${ProjectName}_prebuild
COMMAND rm -rf ${CMAKE_BINARY_DIR}/doc/doxygen/html)
add_dependencies(doxygen_${ProjectName} doxygen_${ProjectName}_prebuild)
add_custom_command(TARGET doxygen_${ProjectName}
POST_BUILD
COMMAND ${CMAKE_SOURCE_DIR}/doc/doxygen/sanitizelinks.sh)
endif()
ENDMACRO (add_dumux_doxygen_target)
ENDMACRO ()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment