Merge branch 'fix-519' into 'master'

cmake: install api docs in html subdir

Closes #519

See merge request dbus/dbus!473
This commit is contained in:
Simon McVittie 2024-10-01 11:22:00 +00:00
commit 5f5cd5d65e

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)