doc/CMakeLists.txt
changeset 1033 16d466589b54
parent 726 9c7639f3a741
child 1035 d149eaf24638
child 1037 d3b041452dd8
     1.1 --- a/doc/CMakeLists.txt	Sat Oct 10 08:19:26 2009 +0200
     1.2 +++ b/doc/CMakeLists.txt	Wed Aug 25 21:34:58 2010 +0200
     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 @@ -49,3 +51,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()