]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: install api docs in html subdir
authorRalf Habacker <ralf.habacker@freenet.de>
Fri, 27 Sep 2024 15:50:42 +0000 (17:50 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 27 Sep 2024 15:51:40 +0000 (17:51 +0200)
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

index cbcbf7bdc1f2203d11d2023b55c19330eef03368..33910c1fc50e82bf812b3228607501b515c9bec8 100644 (file)
@@ -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)