blob: 180d6ef2894d01aedcdad66d3e40ab0db129c245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
From https://github.com/EttusResearch/uhd/issues/921
Fixes installation of Man pages
--- host/docs/CMakeLists.txt.orig 2026-05-14 12:56:32.758885886 +0000
+++ host/docs/CMakeLists.txt
@@ -89,8 +89,12 @@ if(ENABLE_MAN_PAGES)
UHD_INSTALL(FILES ${man_page_gz_files} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
add_custom_target(man_page_gzips ALL DEPENDS ${man_page_gz_files})
else(ENABLE_MAN_PAGE_COMPRESSION)
+ foreach(manfile ${man_page_sources})
+ set(manfile "${CMAKE_CURRENT_SOURCE_DIR}/manpages/${manfile}")
+ list(APPEND man_page_files ${manfile})
+ endforeach(manfile ${man_page_sources})
# uncompressed man pages; just install them
- UHD_INSTALL(FILES ${man_page_sources} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
+ UHD_INSTALL(FILES ${man_page_files} DESTINATION ${PKG_MAN_DIR} COMPONENT manpages)
endif(ENABLE_MAN_PAGE_COMPRESSION)
endif(ENABLE_MAN_PAGES)
|