Workaround doxygen SEGV and accept incomplete docs (until bnc#755402 is fixed)
authorMichael Andres <ma@suse.de>
Thu, 12 Apr 2012 08:02:48 +0000 (10:02 +0200)
committerMichael Andres <ma@suse.de>
Mon, 16 Apr 2012 09:53:22 +0000 (11:53 +0200)
doc/autodoc/CMakeLists.txt
doc/autoinclude/EnvironmentVariables.doc

index 668f760..3259541 100644 (file)
@@ -29,7 +29,7 @@ CONFIGURE_FILE(
 ADD_CUSTOM_COMMAND (
    OUTPUT  ${DOXYGEN_OUTPUT}
    COMMAND ${CMAKE_COMMAND} -E echo_append "Building Documentation..."
-   COMMAND ${DOXYGEN} ${DOXYGEN_INPUT}
+   COMMAND ${DOXYGEN} ${DOXYGEN_INPUT} || { echo '*** IGNORE FAILED DOXYGEN - DOC MIGHT BE INCOMPLETE!'\; true\; }
    COMMAND ${CMAKE_COMMAND} -E echo "Done."
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    DEPENDS ${DOXYGEN_INPUT}
@@ -42,7 +42,7 @@ ADD_DEPENDENCIES(doc zypp)
 
 ADD_CUSTOM_TARGET( doc_forced
    COMMAND ${CMAKE_COMMAND} -E echo_append "Building Documentation..."
-   COMMAND ${DOXYGEN} ${DOXYGEN_INPUT}
+   COMMAND ${DOXYGEN} ${DOXYGEN_INPUT} || { echo '*** IGNORE FAILED DOXYGEN - DOC MIGHT BE INCOMPLETE!'\; true\; }
    COMMAND ${CMAKE_COMMAND} -E echo "Done."
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    DEPENDS ${DOXYGEN_INPUT}
index a8856c3..23abd98 100644 (file)
@@ -4,7 +4,7 @@
 
 \author Michael Andres <ma@suse.de>
 
-\section zypp-envars Environment Variables
+\section zypp-envars-intro Environment Variables
 
 Note that for Boolean variables we usually test whether the variable exists and not for the assigned value.