|
@@ -20,14 +20,6 @@ endif()
|
20
|
20
|
|
21
|
21
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/bin/")
|
22
|
22
|
|
23
|
|
-set( CMAKE_COMPRESS_MAN TRUE CACHE BOOL "Whether or not to compress the man pages for install." )
|
24
|
|
-
|
25
|
|
-if ( CMAKE_COMPRESS_MAN )
|
26
|
|
- set( MANTARGET "slop.1.gz" )
|
27
|
|
-else()
|
28
|
|
- set( MANTARGET "slop.1" )
|
29
|
|
-endif()
|
30
|
|
-
|
31
|
23
|
include_directories("${PROJECT_BINARY_DIR}")
|
32
|
24
|
|
33
|
25
|
add_definitions(-DSLOP_VERSION="v${PROJECT_VERSION}")
|
|
@@ -123,4 +115,4 @@ endif()
|
123
|
115
|
install( TARGETS ${EXECUTABLE_NAME} DESTINATION "${CMAKE_INSTALL_BINDIR}" )
|
124
|
116
|
install( TARGETS ${LIBRARY_NAME} DESTINATION "${CMAKE_INSTALL_LIBDIR}" )
|
125
|
117
|
install( FILES ${CMAKE_SOURCE_DIR}/src/slop.hpp DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" COMPONENT development )
|
126
|
|
-install( FILES "${CMAKE_SOURCE_DIR}/${MANTARGET}" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc )
|
|
118
|
+install( FILES ${CMAKE_SOURCE_DIR}/slop.1 DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc )
|