doc/CMakeLists.txt
branch1.2
changeset 905 d149eaf24638
parent 865 d48d79b11f5b
parent 904 16d466589b54
child 908 7f37e5fc416e
     1.1 --- a/doc/CMakeLists.txt	Mon Feb 28 09:58:07 2011 +0100
     1.2 +++ b/doc/CMakeLists.txt	Fri Mar 04 10:40:44 2011 +0100
     1.3 @@ -3,6 +3,8 @@
     1.4  SET(abs_top_srcdir ${PROJECT_SOURCE_DIR})
     1.5  SET(abs_top_builddir ${PROJECT_BINARY_DIR})
     1.6  
     1.7 +SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).")
     1.8 +
     1.9  CONFIGURE_FILE(
    1.10    ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in
    1.11    ${PROJECT_BINARY_DIR}/doc/Doxyfile
    1.12 @@ -52,3 +54,15 @@
    1.13    ENDIF()
    1.14  
    1.15  ENDIF()
    1.16 +
    1.17 +IF(WGET_FOUND)
    1.18 +ADD_CUSTOM_TARGET(update-external-tags
    1.19 +  COMMAND ${CMAKE_COMMAND} -E make_directory dl
    1.20 +  # COMMAND ${CMAKE_COMMAND} -E copy libstdc++.tag dl
    1.21 +  COMMAND ${WGET_EXECUTABLE} wget -P dl -N libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag
    1.22 +  COMMAND ${CMAKE_COMMAND} -E rename dl/libstdc++.tag libstdc++.tag
    1.23 +  COMMAND ${CMAKE_COMMAND} -E remove dl/libstdc++.tag
    1.24 +  COMMAND ${CMAKE_COMMAND} -E remove_directory dl
    1.25 +  WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
    1.26 +  )
    1.27 +ENDIF()