From: Jean-Paul Pelteret Date: Tue, 7 Mar 2017 17:06:38 +0000 (+0100) Subject: When doxygen fails, make a copy of the error log for debugging purposes. X-Git-Tag: v8.5.0-rc1~56^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e560dc2b0fabdaf516161e093e3a489005dc511b;p=dealii.git When doxygen fails, make a copy of the error log for debugging purposes. --- diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt index 8d29bce728..03e7119730 100644 --- a/doc/doxygen/CMakeLists.txt +++ b/doc/doxygen/CMakeLists.txt @@ -82,7 +82,7 @@ IF(DEAL_II_DOXYGEN_USE_MATHJAX) ELSE() SET(_use_mathjax NO) ENDIF() - + CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/options.dox.in @@ -233,6 +233,7 @@ ADD_CUSTOM_COMMAND( COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/options.dox > ${CMAKE_BINARY_DIR}/doxygen.log 2>&1 # *pssst* + || ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/doxygen.log ${CMAKE_BINARY_DIR}/doxygen.err WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DEPENDS tutorial @@ -269,4 +270,3 @@ INSTALL(DIRECTORY DESTINATION ${DEAL_II_DOCHTML_RELDIR}/doxygen COMPONENT documentation ) -