--- service/CMakeLists.txt +++ service/CMakeLists.txt @@ -249,7 +249,7 @@ IF (UNIX) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating man file telldusd.1" ) - INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/telldusd.1 DESTINATION share/man/man1) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/telldusd.1 DESTINATION ${MAN_DIR}/man1) ENDIF (GENERATE_MAN) ENDIF (UNIX)