install man pages

cmake modyfication to install man pages.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
This commit is contained in:
Tomasz Kłoczko 2023-08-31 08:47:47 +00:00
parent ed738e842d
commit 741610efd3
1 changed files with 4 additions and 0 deletions

View File

@ -359,6 +359,10 @@ if(NOT BROTLI_BUNDLED_MODE)
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
endif() # BROTLI_BUNDLED_MODE
INSTALL(FILES "docs/brotli.1" DESTINATION "${SHARE_INSTALL_PREFIX}/man/man1")
INSTALL(FILES docs/constants.h.3 docs/decode.h.3 docs/encode.h.3 docs/types.h.3
DESTINATION "${SHARE_INSTALL_PREFIX}/man/man3")
if (ENABLE_COVERAGE STREQUAL "yes")
SETUP_TARGET_FOR_COVERAGE(coverage test coverage)
endif ()