From e66060d1c3d2c67f096c1c34533f351fa7505e70 Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 25 Jun 2011 03:02:10 +0000 Subject: Install man pages during 'make install' on Unix systems git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4552 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/CMakeLists.txt | 3 +++ unix/vncconfig/CMakeLists.txt | 3 +++ unix/vncpasswd/CMakeLists.txt | 3 +++ 3 files changed, 9 insertions(+) (limited to 'unix') diff --git a/unix/CMakeLists.txt b/unix/CMakeLists.txt index 599f26f9..36fe3396 100644 --- a/unix/CMakeLists.txt +++ b/unix/CMakeLists.txt @@ -6,3 +6,6 @@ add_subdirectory(vncpasswd) if(NOT BUILD_NEW_VNCVIEWER) add_subdirectory(vncviewer) endif() + +install(PROGRAMS vncserver DESTINATION bin) +install(FILES vncserver.man DESTINATION man/man1) diff --git a/unix/vncconfig/CMakeLists.txt b/unix/vncconfig/CMakeLists.txt index 55704130..9adadaa2 100644 --- a/unix/vncconfig/CMakeLists.txt +++ b/unix/vncconfig/CMakeLists.txt @@ -10,3 +10,6 @@ add_executable(vncconfig QueryConnectDialog.cxx) target_link_libraries(vncconfig tx rfb network rdr ${X11_LIBRARIES}) + +install(TARGETS vncconfig DESTINATION bin) +install(FILES vncconfig.man DESTINATION man/man1) diff --git a/unix/vncpasswd/CMakeLists.txt b/unix/vncpasswd/CMakeLists.txt index 1125df25..f31c936a 100644 --- a/unix/vncpasswd/CMakeLists.txt +++ b/unix/vncpasswd/CMakeLists.txt @@ -4,3 +4,6 @@ add_executable(vncpasswd vncpasswd.cxx) target_link_libraries(vncpasswd tx rfb rdr os) + +install(TARGETS vncpasswd DESTINATION bin) +install(FILES vncpasswd.man DESTINATION man/man1) -- cgit v1.2.3