Add install target for man page

This commit is contained in:
William Robinet 2023-08-10 12:45:02 +02:00
parent 7af04ca7ea
commit a01f07f999
No known key found for this signature in database
GPG key ID: 003FA3DF74C7A949

View file

@ -114,3 +114,5 @@ target_link_libraries(ssldump
set(CMAKE_INSTALL_PREFIX "/usr/local") set(CMAKE_INSTALL_PREFIX "/usr/local")
install(TARGETS ssldump DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) install(TARGETS ssldump DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
set(CMAKE_INSTALL_MANDIR "/usr/local/share/man")
install(FILES ssldump.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)