diff --git a/documentation/manpages/man.1 b/documentation/manpages/man.1 index 06c5c5038..266a1e8b9 100644 --- a/documentation/manpages/man.1 +++ b/documentation/manpages/man.1 @@ -1,8 +1,9 @@ .\" Automatically generated by Pandoc 2.9.2.1 .\" -.TH "" "" "" "" "" +.TH "cb" "1" "" "" "" .hy -.SH cb(1) \[en] cut, copy, and paste anything in the terminal +.SH NAME +cb \- cut, copy, and paste anything in the terminal .SS SYNOPSIS .PP \f[B]cb\f[R] [--](add|copy|cut)[(num)|_(id)] (file) files diff --git a/src/cbwayland/CMakeLists.txt b/src/cbwayland/CMakeLists.txt index 93957d8da..86fd0a52f 100644 --- a/src/cbwayland/CMakeLists.txt +++ b/src/cbwayland/CMakeLists.txt @@ -36,7 +36,7 @@ add_custom_target(cbwayland_generatedheaders DEPENDS "${GENERATED_XDG_SHELL_HEADER}" ) -add_library(cbwayland MODULE +add_library(cbwayland SHARED src/fd.cpp src/wayland.cpp @@ -71,4 +71,9 @@ target_include_directories(cbwayland PRIVATE ${GENERATED_INCLUDE_DIR} ) +set_target_properties(cbwayland PROPERTIES + VERSION 1.0 + SOVERSION 1 +) + install(TARGETS cbwayland LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/src/cbx11/CMakeLists.txt b/src/cbx11/CMakeLists.txt index 4c2a41b2a..a6c9ae361 100644 --- a/src/cbx11/CMakeLists.txt +++ b/src/cbx11/CMakeLists.txt @@ -1,7 +1,12 @@ -add_library(cbx11 MODULE +add_library(cbx11 SHARED src/x11.cpp ) +set_target_properties(cbx11 PROPERTIES + VERSION 1.0 + SOVERSION 1 +) + target_link_libraries(cbx11 ${X11_LIBRARIES} gui