aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2018-04-17 10:28:37 -0700
committerGerald Combs <gerald@wireshark.org>2018-04-17 17:29:37 +0000
commit2e639570318018871e934fb7a397ba8a2bdcfbe8 (patch)
tree6bd1aad2fbb9537c8761bb5bf3be3911b5fc2d02
parentb56e437160f93dbecc18256dfe6b1d7f7cce135f (diff)
CMake: API reference fixes.
Fixup a dependency and make sure we create the API reference from scratch. Change-Id: I832d1772eb8b4f07cab6f04d164cac10c70ab3bb Reviewed-on: https://code.wireshark.org/review/26990 Reviewed-by: Gerald Combs <gerald@wireshark.org>
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48af698..492cd9f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3098,13 +3098,16 @@ install(
if (DOXYGEN_EXECUTABLE)
# API reference
+ # We don't have a good way of tracking dependencies, so we simply
+ # recreate the whole thing from scratch each time.
add_custom_target(wsar_html
+ COMMAND ${CMAKE_COMMAND} -E remove_directory wsar_html
COMMAND ${DOXYGEN_EXECUTABLE} doxygen.cfg
)
add_custom_target(wsar_html_zip
COMMAND ${CMAKE_COMMAND} -E tar "cfv" "wsar_html.zip" --format=zip wsar_html
- DEPENDS wsar_html wsar_html/index.html
+ DEPENDS wsar_html
)
endif(DOXYGEN_EXECUTABLE)