]> source.dussan.org Git - tigervnc.git/commitdiff
Fix installation of vncsession.man
authorPierre Ossman <ossman@cendio.se>
Fri, 2 Oct 2020 10:22:51 +0000 (12:22 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 2 Oct 2020 10:24:49 +0000 (12:24 +0200)
It is now dynamically generated, so it will be in the build directory
and not in the source directory.

unix/vncserver/CMakeLists.txt

index 71d5feec1b335ab5860e1fe55fcd627cf4b45a06..9cf0e0ed9fa96ab3c33f0dc72d3fd64888150013 100644 (file)
@@ -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)