[cmake] fix manpage generation dependencies

This commit is contained in:
akallabeth 2024-01-29 08:43:56 +01:00 committed by akallabeth
parent 902832ca76
commit f22d3065cb

View File

@ -35,15 +35,14 @@ function(generate_and_install_freerdp_man_from_xml template manpage dependencies
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS
${CMAKE_CURRENT_BINARY_DIR}/${manpage}.xml
generate_argument_docbook
${template}.xml.in
)
add_custom_target(
${manpage}.manpage ALL
DEPENDS
DEPENDS
${manpage}
${manpage}.xml
${template}.xml.in
generate_argument_docbook
)
install_freerdp_man(${CMAKE_CURRENT_BINARY_DIR}/${manpage} 1)
endif()