Skip to content

Commit

Permalink
Install bash completions files for adb and fastboot
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
nmeum committed Mar 21, 2021
1 parent d1a9cd6 commit 45e337f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64")
# Targets which should be installed by `make install`.
install(TARGETS adb fastboot "${ANDROID_MKE2FS_NAME}"
simg2img img2simg append2simg DESTINATION bin)

# Install bash completion files.
set(BASH_COMPLETION_DIR "${CMAKE_INSTALL_FULL_DATADIR}/bash-completion/completions")
install(FILES adb/adb.bash RENAME adb DESTINATION "${BASH_COMPLETION_DIR}")
install(FILES core/fastboot/fastboot.bash RENAME fastboot DESTINATION "${BASH_COMPLETION_DIR}")

0 comments on commit 45e337f

Please sign in to comment.