[client,sdl] update manpages

* Respect default configuration directory depending on
  WITH_FULL_CONFIG_PATH
* Unify manpage files for SDL2 and SDL3
This commit is contained in:
akallabeth
2024-06-06 11:18:57 +02:00
parent 7aa72a7507
commit 04e3fe0b06
12 changed files with 24 additions and 207 deletions

View File

@@ -35,8 +35,9 @@ function(generate_and_install_freerdp_man_from_xml target section dependencies)
configure_file(${template}.xml.in ${manpage}.xml @ONLY IMMEDIATE)
foreach(DEP IN LISTS dependencies)
get_filename_component(DNAME "${DEP}" NAME)
set(SRC ${CMAKE_CURRENT_SOURCE_DIR}/${DEP}.in)
set(DST ${CMAKE_CURRENT_BINARY_DIR}/${DEP})
set(DST ${CMAKE_CURRENT_BINARY_DIR}/${DNAME})
if (EXISTS ${SRC})
message("generating ${DST} from ${SRC}")