aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTomasz Kłoczko <kloczek@github.com>2023-08-31 08:47:47 +0000
committerTomasz Kłoczko <kloczek@github.com>2023-08-31 08:47:47 +0000
commit741610efd335a8b6ff9be4c9bed643e0a74fdb6a (patch)
tree9ebc948397af13eeafdebae5b33ebe98483dca8d /CMakeLists.txt
parented738e842d2fbdf2d6459e39267a633c4a9b2f5d (diff)
downloadbrotli-741610efd335a8b6ff9be4c9bed643e0a74fdb6a.zip
brotli-741610efd335a8b6ff9be4c9bed643e0a74fdb6a.tar.gz
brotli-741610efd335a8b6ff9be4c9bed643e0a74fdb6a.tar.bz2
install man pages
cmake modyfication to install man pages. Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 61378cd..84a1494 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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 ()