From e560dc2b0fabdaf516161e093e3a489005dc511b Mon Sep 17 00:00:00 2001 From: Jean-Paul Pelteret Date: Tue, 7 Mar 2017 18:06:38 +0100 Subject: [PATCH] When doxygen fails, make a copy of the error log for debugging purposes. --- doc/doxygen/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) - -- 2.39.5