From: Evgeny Vereshchagin Date: Thu, 26 May 2016 08:50:50 +0000 (+0000) Subject: Install tools/old too X-Git-Tag: v0.2.0~79^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b33364f48e3c1210bcebcd5017d7db1df23d147;p=platform%2Fupstream%2Fbcc.git Install tools/old too --- 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()