Compare commits
6 commits
b5a8e14de6
...
c0f4753213
Author | SHA1 | Date | |
---|---|---|---|
c0f4753213 | |||
3c603c0ada | |||
7341fceb55 | |||
bc91da78c2 | |||
9ccf4d2352 | |||
fa9fce9131 |
1 changed files with 13 additions and 1 deletions
|
@ -34,7 +34,19 @@ target_link_libraries(igmpgen ${LIBNET_LIBRARY})
|
|||
install(TARGETS igmpgen DESTINATION bin)
|
||||
|
||||
# Install the man page
|
||||
install(FILES misc/igmpgen.man.1 DESTINATION share/man/man1 RENAME igmpgen.1)
|
||||
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(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/misc/igmpgen.1.gz
|
||||
TYPE MAN
|
||||
)
|
||||
|
||||
# Include CPack for packaging
|
||||
include(InstallRequiredSystemLibraries)
|
||||
|
|
Loading…
Reference in a new issue