From: Ralf Habacker Date: Fri, 27 Sep 2024 15:50:42 +0000 (+0200) Subject: cmake: install api docs in html subdir X-Git-Tag: dbus-1.15.12~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=522633b4;p=thirdparty%2Fdbus.git cmake: install api docs in html subdir CMake has previously installed the api documentation in the api/ subdirectory, but api/html is required to correspond to the link in the generated index file (index.html). Fix #519 --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index cbcbf7bdc..33910c1fc 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -52,7 +52,7 @@ if(DBUS_ENABLE_DOXYGEN_DOCS) DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/doxygen.stamp ) add_dependencies(doc apidoc) - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/dbus/api) + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/api/html/ DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/dbus/api/html) endif() find_program(XSLTPROC_EXECUTABLE xsltproc)