Skip to content

Commit 150a817

Browse files
committed
fix: man(1) install directory unter OpenBSD
1 parent 32f62c0 commit 150a817

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

grive/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ set_target_properties( grive_executable
2626
)
2727

2828
install(TARGETS grive_executable RUNTIME DESTINATION bin)
29-
install(FILES doc/grive.1 DESTINATION share/man/man1 )
29+
30+
if ( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
31+
install(FILES doc/grive.1 DESTINATION man/man1 )
32+
else ( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )
33+
install(FILES doc/grive.1 DESTINATION share/man/man1 )
34+
endif( ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD" )

0 commit comments

Comments
 (0)