doc/CMakeLists.txt
changeset 914 35ba7236bd67
parent 911 481496e6d71f
child 930 8e39ccaabf48
child 1032 62ba43576f85
     1.1 --- a/doc/CMakeLists.txt	Sun Nov 14 09:25:03 2010 +0100
     1.2 +++ b/doc/CMakeLists.txt	Mon Nov 15 07:52:53 2010 +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()