summaryrefslogtreecommitdiffstats
path: root/client/SDL/man/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'client/SDL/man/CMakeLists.txt')
-rw-r--r--client/SDL/man/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/SDL/man/CMakeLists.txt b/client/SDL/man/CMakeLists.txt
new file mode 100644
index 0000000..1fb2adc
--- /dev/null
+++ b/client/SDL/man/CMakeLists.txt
@@ -0,0 +1,12 @@
+set(DEPS
+ sdl-freerdp-channels.1.xml
+ sdl-freerdp-config.1.xml
+ sdl-freerdp-examples.1.xml
+ sdl-freerdp-envvar.1.xml
+ )
+
+set(MANPAGE_NAME ${PROJECT_NAME})
+if (WITH_BINARY_VERSIONING)
+ set(MANPAGE_NAME ${PROJECT_NAME}${PROJECT_VERSION_MAJOR})
+endif()
+generate_and_install_freerdp_man_from_xml(${PROJECT_NAME}.1 ${MANPAGE_NAME}.1 "${DEPS}")