From 64f0de65fe69223d8e50f5ba075ad052a6453b32 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Mon, 1 Mar 2021 19:22:46 +0100
Subject: [PATCH] need to properly install scripts

---
 CMakeLists.txt       | 2 +-
 tools/CMakeLists.txt | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 tools/CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fba2a28df..4f18d46bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -343,7 +343,7 @@ install (DIRECTORY examples DESTINATION share/corsika)
 #
 # tools
 #
-install (DIRECTORY tools DESTINATION share/corsika)
+add_subdirectory (tools)
 
 
 
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
new file mode 100644
index 000000000..02b0ff189
--- /dev/null
+++ b/tools/CMakeLists.txt
@@ -0,0 +1,7 @@
+set (scripts
+  plot_crossings.sh
+  plot_tracks.sh
+  read_hist.py
+  )
+
+install (PROGRAMS ${scripts} DESTINATION share/corsika/tools)
-- 
GitLab