]> https://gitweb.dealii.org/ - dealii.git/commitdiff
When doxygen fails, make a copy of the error log for debugging purposes. 4048/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Tue, 7 Mar 2017 17:06:38 +0000 (18:06 +0100)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Tue, 7 Mar 2017 17:06:38 +0000 (18:06 +0100)
doc/doxygen/CMakeLists.txt

index 8d29bce72826e36501217a54fdecba12987bffa2..03e7119730d5c0c8119e9a649d1765912d5e65d7 100644 (file)
@@ -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
   )
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.