fixed man page install path
authorAndrew Karpow <andy@ndyk.de>
Fri, 17 Jan 2014 18:41:19 +0000 (19:41 +0100)
committerAndrew Karpow <andy@ndyk.de>
Fri, 17 Jan 2014 18:41:19 +0000 (19:41 +0100)
CMakeLists.txt

index c68deed..e2dce79 100644 (file)
@@ -52,7 +52,7 @@ endif()
 
 
 install(TARGETS ympd DESTINATION bin)
-install(FILES ympd.1 DESTINATION man)
+install(FILES ympd.1 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
 install(DIRECTORY htdocs DESTINATION share/${PROJECT_NAME})
 install(FILES contrib/init.debian DESTINATION /etc/init.d
     PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE