Package: qgis / 2.4.0-1

disable-doxygen.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Disable doxygen, only built in build-indep target.
Author: Bas Couwenberg <sebastic@xs4all.nl>
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -29,12 +29,12 @@ IF(WITH_APIDOC)
   FIND_PACKAGE(Doxygen)
   IF(DOXYGEN_FOUND)
     CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake_templates/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
-    ADD_CUSTOM_TARGET(apidoc ALL
-            COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
-            WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-            DEPENDS qgis_core qgis_gui qgis_analysis
-            COMMENT "Generating API documentation" VERBATIM)
-    INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${QGIS_DATA_DIR}/doc/api)
+    #ADD_CUSTOM_TARGET(apidoc ALL
+    #        COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
+    #        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+    #        DEPENDS qgis_core qgis_gui qgis_analysis
+    #        COMMENT "Generating API documentation" VERBATIM)
+    #INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${QGIS_DATA_DIR}/doc/api)
     INSTALL(FILES ../images/icons/qgis-icon-60x60.png DESTINATION ${QGIS_DATA_DIR}/doc/api)
   ELSE(DOXYGEN_FOUND)
     MESSAGE(STATUS "QGIS api documentation not built - Doxygen not found")