fix: try compressing the manpage manually
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
bc91da78c2
commit
7341fceb55
1 changed files with 10 additions and 2 deletions
|
@ -34,10 +34,18 @@ target_link_libraries(igmpgen ${LIBNET_LIBRARY})
|
||||||
install(TARGETS igmpgen DESTINATION bin)
|
install(TARGETS igmpgen DESTINATION bin)
|
||||||
|
|
||||||
# Install the man page
|
# Install the man page
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/misc/)
|
||||||
|
file(
|
||||||
|
ARCHIVE_CREATE
|
||||||
|
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/misc/igmpgen.1.gz
|
||||||
|
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/misc/igmpgen.man.1
|
||||||
|
FORMAT raw
|
||||||
|
COMPRESSION GZip
|
||||||
|
)
|
||||||
install(
|
install(
|
||||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/misc/igmpgen.man.1
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/misc/igmpgen.1.gz
|
||||||
DESTINATION share/man/man1
|
DESTINATION share/man/man1
|
||||||
RENAME igmpgen.1
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Include CPack for packaging
|
# Include CPack for packaging
|
||||||
|
|
Loading…
Reference in a new issue