From 522633b4f92a36858d381c1ad45675615c63e5a2 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 27 Sep 2024 17:50:42 +0200 Subject: [PATCH] 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 --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3