From d5b6114fb2e36d0bea8e86a5e35da51824e7ede9 Mon Sep 17 00:00:00 2001 From: Ilya Sher <34807039+ilyash-b@users.noreply.github.com> Date: Tue, 18 Jun 2024 11:44:08 +0400 Subject: [PATCH] Fix #666 - Manpages should go in share/man --- CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7574ae17..c7d2df00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -132,13 +132,7 @@ install( PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE ) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION share/doc/ngs) - -if(APPLE) - set(MAN_DIR share/man/man1) -else() - set(MAN_DIR man/man1) -endif() -install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doc/ DESTINATION ${MAN_DIR} FILES_MATCHING PATTERN "*.1") +install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doc/ DESTINATION share/man/man1 FILES_MATCHING PATTERN "*.1") enable_testing() add_test(all bash -c "${CMAKE_CURRENT_BINARY_DIR}/ngs ${CMAKE_CURRENT_SOURCE_DIR}/test.ngs")