From 9dddf952dfbf2374a9ac136ae56259ebc6da8ab8 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 1 Aug 2016 00:47:23 +0200 Subject: [PATCH] Install the man page --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2d425d..a3322cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,3 +31,8 @@ add_executable(minisign target_link_libraries(minisign ${LIB_SODIUM}) install(TARGETS minisign DESTINATION bin) + +include(GNUInstallDirs) + +install(FILES "share/man/man1/minisign.1" + DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc)