From: Pierre Ossman Date: Fri, 2 Oct 2020 10:22:51 +0000 (+0200) Subject: Fix installation of vncsession.man X-Git-Tag: v1.11.90~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c6f5f8b0b9505c1e323561b320a334a1ebd540a2;p=tigervnc.git Fix installation of vncsession.man It is now dynamically generated, so it will be in the build directory and not in the source directory. --- diff --git a/unix/vncserver/CMakeLists.txt b/unix/vncserver/CMakeLists.txt index 71d5feec..9cf0e0ed 100644 --- a/unix/vncserver/CMakeLists.txt +++ b/unix/vncserver/CMakeLists.txt @@ -8,7 +8,7 @@ configure_file(vncsession.man.in vncsession.man @ONLY) install(TARGETS vncsession DESTINATION ${CMAKE_INSTALL_FULL_SBINDIR}) install(FILES tigervnc.pam DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d RENAME tigervnc) -install(FILES vncsession.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncsession.8) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/vncsession.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncsession.8) install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/vncserver DESTINATION ${CMAKE_INSTALL_FULL_LIBEXECDIR}) install(FILES vncserver.man DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man8 RENAME vncserver.8) install(FILES vncserver-config-defaults vncserver-config-mandatory DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/tigervnc)