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
This commit is contained in:
Ralf Habacker 2024-09-27 17:50:42 +02:00
parent 21e94c209d
commit 522633b4f9

View 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)