mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
25 lines
1 KiB
Diff
25 lines
1 KiB
Diff
--- 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()
|