diff --git a/cmake/modules/AddSphinxTarget.cmake b/cmake/modules/AddSphinxTarget.cmake index 2c836e4c3281..3456b536e80a 100644 --- a/cmake/modules/AddSphinxTarget.cmake +++ b/cmake/modules/AddSphinxTarget.cmake @@ -51,7 +51,7 @@ function (add_sphinx_target builder project) # FIXME: We might not ship all the tools that these man pages describe install(DIRECTORY "${SPHINX_BUILD_DIR}/" # Slash indicates contents of COMPONENT "${project}-sphinx-man" - DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) + DESTINATION share/man/man1) elseif (builder STREQUAL html) string(TOUPPER "${project}" project_upper)