# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1355927832 -3600
# Node ID 7780b04325d484e8966b1b3f4a9991264c6a51d4
# Parent 9a6c9d4ee77b8b5f529e525e2539b9317faecdd0
Fix 'make update-external-tags' behavior
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
a
|
b
|
|
4 | 4 | SET(abs_top_builddir ${PROJECT_BINARY_DIR}) |
5 | 5 | |
6 | 6 | SET(LEMON_DOC_SOURCE_BROWSER "NO" CACHE STRING "Include source into the doc (YES/NO).") |
| 7 | SET(LEMON_DOC_USE_MATHJAX "NO" CACHE STRING "Use MathJax to display math formulae (YES/NO).") |
| 8 | SET(LEMON_DOC_MATHJAX_RELPATH "http://www.mathjax.org/mathjax" CACHE STRING "MathJax library location.") |
7 | 9 | |
8 | 10 | CONFIGURE_FILE( |
9 | 11 | ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in |
… |
… |
|
72 | 74 | |
73 | 75 | IF(WGET_FOUND) |
74 | 76 | ADD_CUSTOM_TARGET(update-external-tags |
75 | | COMMAND ${CMAKE_COMMAND} -E make_directory dl |
76 | | # COMMAND ${CMAKE_COMMAND} -E copy libstdc++.tag dl |
77 | | COMMAND ${WGET_EXECUTABLE} wget -P dl -N libstdc++.tag.tmp http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag |
78 | | COMMAND ${CMAKE_COMMAND} -E rename dl/libstdc++.tag libstdc++.tag |
79 | | COMMAND ${CMAKE_COMMAND} -E remove dl/libstdc++.tag |
80 | | COMMAND ${CMAKE_COMMAND} -E remove_directory dl |
| 77 | COMMAND ${WGET_EXECUTABLE} -N http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag |
81 | 78 | WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
82 | 79 | ) |
83 | 80 | ENDIF() |