Skip to content

Commit

Permalink
Install tools/old too
Browse files Browse the repository at this point in the history
  • Loading branch information
evverx committed May 26, 2016
1 parent f67a7af commit 9b33364
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 5 additions & 0 deletions tools/old/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 9b33364

Please sign in to comment.