aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-08-24 16:22:56 +0200
committerThomas White <taw@physics.org>2022-08-24 16:22:56 +0200
commit1f7b7c1e0fc7a002eae26b5442469b4cbee3a735 (patch)
tree7c0244cd1f1983d5d67bc8c01f0c4d7cc23bbd91
parent606d42de1570307bf39e8955cc56d074c5f855d3 (diff)
Install detector-shift and peakogram-stream under 'bin'
-rw-r--r--CMakeLists.txt4
-rw-r--r--meson.build7
2 files changed, 11 insertions, 0 deletions
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')