diff --git a/cmake/modules/InstallationHelper.cmake b/cmake/modules/InstallationHelper.cmake --- a/cmake/modules/InstallationHelper.cmake +++ b/cmake/modules/InstallationHelper.cmake @@ -180,17 +180,17 @@ set(OUTPUT_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/html") configure_file( "${CMAKE_SOURCE_DIR}/cmake/templates/man2html.sh.in" - "${CMAKE_BINARY_DIR}/man2html.sh" + "${CMAKE_BINARY_DIR}/config/man2html.sh" @ONLY ) add_custom_target(install-manpages-html COMMENT "Generating man pages for web rendering" COMMAND - "${CMAKE_BINARY_DIR}/man2html.sh" + "${CMAKE_BINARY_DIR}/config/man2html.sh" DEPENDS install-manpages - "${CMAKE_BINARY_DIR}/man2html.sh" + "${CMAKE_BINARY_DIR}/config/man2html.sh" ) endif() endfunction()