From 9b33364f48e3c1210bcebcd5017d7db1df23d147 Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Thu, 26 May 2016 08:50:50 +0000 Subject: [PATCH] Install tools/old too --- tools/CMakeLists.txt | 1 + tools/old/CMakeLists.txt | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tools/old/CMakeLists.txt diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 1a9c2e2..c2b18fc 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -7,3 +7,4 @@ foreach(FIL ${PY_FILES}) endforeach() install(FILES ${C_FILES} DESTINATION share/bcc/tools) install(FILES ${TXT_FILES} DESTINATION share/bcc/tools/doc) +add_subdirectory(old) diff --git a/tools/old/CMakeLists.txt b/tools/old/CMakeLists.txt new file mode 100644 index 0000000..89b76a0 --- /dev/null +++ b/tools/old/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB PY_FILES *.py) +foreach(FIL ${PY_FILES}) + get_filename_component(FIL_WE ${FIL} NAME_WE) + install(PROGRAMS ${FIL} DESTINATION share/bcc/tools/old RENAME ${FIL_WE}) +endforeach() -- 2.7.4