diff options
| author | Manuel Bentele | 2020-09-09 16:53:48 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2020-09-16 07:37:56 +0200 |
| commit | 87c9cd859ca10ccbe109e09fe01a03b08932a887 (patch) | |
| tree | 31bdd21158857dcecbf91d85b1e5ade62033d8f2 /utils | |
| parent | Added patched losetup utility to configure xloop devices (diff) | |
| download | xloop-87c9cd859ca10ccbe109e09fe01a03b08932a887.tar.gz xloop-87c9cd859ca10ccbe109e09fe01a03b08932a887.tar.xz xloop-87c9cd859ca10ccbe109e09fe01a03b08932a887.zip | |
Added CMake files to build xloop kernel modules and xlosetup utility
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | utils/sys-utils/CMakeLists.txt | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index d1e359d..93fc41c 100644 --- a/utils/CMakeLists.txt +++ b/utils/CMakeLists.txt @@ -13,3 +13,7 @@ add_compile_options(-include ${CMAKE_CURRENT_SOURCE_DIR}/config.h) add_subdirectory(lib) add_subdirectory(libsmartcols) add_subdirectory(sys-utils) + +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bash-completion/losetup + DESTINATION /usr/share/bash-completion/completions + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
\ No newline at end of file diff --git a/utils/sys-utils/CMakeLists.txt b/utils/sys-utils/CMakeLists.txt index 1e007dc..a36e88c 100644 --- a/utils/sys-utils/CMakeLists.txt +++ b/utils/sys-utils/CMakeLists.txt @@ -7,3 +7,8 @@ project(xloop-utils-sys-utils) add_executable(xlosetup ${CMAKE_CURRENT_SOURCE_DIR}/losetup.c) target_link_libraries(xlosetup LINK_PUBLIC libcommon libsmartcols) target_include_directories(xlosetup PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../lib ${CMAKE_CURRENT_SOURCE_DIR}/../libsmartcols) +install(TARGETS xlosetup DESTINATION bin) + +install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/losetup.8 + DESTINATION /usr/share/man/man8 + PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
\ No newline at end of file |
