Procházet zdrojové kódy

Do not compress manpage

* The manpage is tiny, and distributions will
  recompress the manpage into a different
  format anyhow.
David Seifert před 7 roky
rodič
revize
1f74b121d5
2 změnil soubory, kde provedl 1 přidání a 9 odebrání
  1. 1
    9
      CMakeLists.txt
  2. binární
      slop.1.gz

+ 1
- 9
CMakeLists.txt Zobrazit soubor

@@ -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 )

binární
slop.1.gz Zobrazit soubor