blob: b592e70d3ed9947dc7ceb5103d0f8bddd19f47a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- a/doc/CMakeLists.txt 2024-10-15 08:03:24.619608495 +0200
+++ b/doc/CMakeLists.txt 2024-10-15 08:04:23.264026922 +0200
@@ -160,8 +160,8 @@
if (NOT WIN32)
add_custom_command(
- OUTPUT "${D}/xca.1.gz"
- COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | gzip -n9 > "${D}/xca.1.gz"
+ OUTPUT "${D}/xca.1"
+ COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | cat > "${D}/xca.1"
DEPENDS "${S}/xca.1.head" "${S}/xca.1.tail"
"${D}/xca.1.options"
COMMENT "Compiling man page"
@@ -171,9 +171,9 @@
COMMAND xcadoc man "${D}/xca.1.options"
COMMENT "Generate 'man' commandline documentation"
)
- add_custom_target(manpage ALL DEPENDS ${D}/xca.1.gz)
+ add_custom_target(manpage ALL DEPENDS ${D}/xca.1)
if (NOT APPLE)
- install(FILES "${D}/xca.1.gz" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
+ install(FILES "${D}/xca.1" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
endif()
add_dependencies(${CMAKE_PROJECT_NAME} manpage)
endif()
|