aports/testing/gr-satellites/no-zip-man.patch
2023-01-25 21:39:26 +01:00

18 lines
617 B
Diff

manpages should not be precompressed
diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt
index a35ab8b..82ec3cc 100644
--- a/docs/CMakeLists.txt
+++ b/docs/CMakeLists.txt
@@ -64,11 +64,8 @@ list(APPEND manpages
set(MAN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/man)
foreach(manpage ${manpages})
- add_custom_target(generate_manpage_${manpage} ALL
- COMMAND ${BZIP} -c ${MAN_SRC_DIR}/${manpage} > ${MAN_BUILD_DIR}/${manpage}.bz2
- )
install(FILES
- ${MAN_BUILD_DIR}/${manpage}.bz2
+ ${MAN_SRC_DIR}/${manpage}
DESTINATION ${MAN_INSTALL_DIR}/man1
)
endforeach(manpage)