summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2019-08-16 23:34:52 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-09-06 10:58:05 +0300
commit3825bc7f25bea1f0b2198402247aceedad327743 (patch)
tree57a7a12b7e7c5c705c6a4c9dc1a0b13bd0a33cbd /Makefile.tools
parent760640a04e669939a4c2d69aa6ab7001f5208f2a (diff)
downloadbluez-3825bc7f25bea1f0b2198402247aceedad327743.tar.gz
build: install zsh completions
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.tools b/Makefile.tools
index b6b99d216..81ed2e30d 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -12,6 +12,11 @@ client_bluetoothctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
$(GLIB_LIBS) $(DBUS_LIBS) -lreadline
endif
+if ZSH_COMPLETIONS
+zshcompletiondir=$(ZSH_COMPLETIONDIR)
+dist_zshcompletion_DATA = completion/zsh/_bluetoothctl
+endif
+
if MONITOR
bin_PROGRAMS += monitor/btmon