diff options
Diffstat (limited to 'qpid/cpp/docs/api')
-rw-r--r-- | qpid/cpp/docs/api/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/qpid/cpp/docs/api/CMakeLists.txt b/qpid/cpp/docs/api/CMakeLists.txt index 1c2e72394c..828d706b91 100644 --- a/qpid/cpp/docs/api/CMakeLists.txt +++ b/qpid/cpp/docs/api/CMakeLists.txt @@ -28,13 +28,15 @@ if (GEN_DOXYGEN) ${CMAKE_CURRENT_BINARY_DIR}/user.doxygen) configure_file (${CMAKE_CURRENT_SOURCE_DIR}/developer.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/developer.doxygen) - add_custom_target (docs-user-api ALL COMMAND ${DOXYGEN_EXECUTABLE} user.doxygen) - add_custom_target (docs-developer ALL COMMAND ${DOXYGEN_EXECUTABLE} developer.doxygen) + add_custom_target (docs-user-api COMMAND ${DOXYGEN_EXECUTABLE} user.doxygen) + add_custom_target (docs-developer COMMAND ${DOXYGEN_EXECUTABLE} developer.doxygen) + add_dependencies (docs docs-developer docs-user-api) # HTML files are generated to ./html - put those in the install. install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${QPID_INSTALL_DOCDIR}/api/html - COMPONENT ${QPID_COMPONENT_CLIENT_INCLUDE}) + COMPONENT ${QPID_COMPONENT_CLIENT_INCLUDE} + ${OPTIONAL_ARG}) if (CPACK_GENERATOR STREQUAL "NSIS") set (CPACK_NSIS_MENU_LINKS "${QPID_INSTALL_HTMLDIR}/index.html" "Qpid C++ API Documentation" |