Compare commits

...

6 commits

Author SHA1 Message Date
Glenn Y. Rolland c0f4753213 Merge tag 'v0.1.1' into develop
All checks were successful
continuous-integration/drone/push Build is passing
v0.1.1
2023-12-27 11:28:42 +01:00
Glenn Y. Rolland 3c603c0ada fix: change install type to man
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-27 11:27:57 +01:00
Glenn Y. Rolland 7341fceb55 fix: try compressing the manpage manually
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-27 11:14:41 +01:00
Glenn Y. Rolland bc91da78c2 fix: try installing manpage without quotes
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-27 11:09:01 +01:00
Glenn Y. Rolland 9ccf4d2352 fix: make sure there are no hidden chars in CMakeLists.txt
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-27 10:55:21 +01:00
Glenn Y. Rolland fa9fce9131 fix: add cmake root dir in manpage path
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-27 10:54:01 +01:00

View file

@ -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)