From 1f7b7c1e0fc7a002eae26b5442469b4cbee3a735 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 24 Aug 2022 16:22:56 +0200 Subject: Install detector-shift and peakogram-stream under 'bin' --- CMakeLists.txt | 4 ++++ meson.build | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc1d0e24..59419e35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,10 @@ add_subdirectory(tests) install(DIRECTORY ${CMAKE_SOURCE_DIR}/scripts DESTINATION ${CMAKE_INSTALL_DOCDIR}) +install(FILES ${CMAKE_SOURCE_DIR}/scripts/detector-shift + ${CMAKE_SOURCE_DIR}/scripts/peakogram-stream + DESTINATION ${CMAKE_INSTALL_BINDIR}) + # Misc resources install(FILES ${CMAKE_SOURCE_DIR}/data/crystfel.svg ${CMAKE_SOURCE_DIR}/data/crystfel-load-data.svg diff --git a/meson.build b/meson.build index 2eabaea4..3ca22532 100644 --- a/meson.build +++ b/meson.build @@ -280,6 +280,13 @@ install_data(['data/crystfel.svg', install_dir: get_option('datadir')+'/icons/hicolor/scalable/apps') +# ************************ Scripts ************************ + +install_data(['scripts/detector-shift', + 'scripts/peakogram-stream'], + install_dir: 'bin') + + # ************************ Testing ************************ subdir('tests') -- cgit v1.2.3