aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorPadraig Connolly <padraig.connolly@intel.com>2017-01-10 17:10:39 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-13 20:18:18 +0000
commit69915cba2d6e169343c03c8eef48e6b2d2296e3a (patch)
tree6fdee21681dd342170ffe94da9890a7a651b726b /build-data
parentc3af7bf104919be668d696fc1ac05893712dae06 (diff)
vppctl: new bash completion for vppctl commands
Bash completion for vppctl *vppctl_completion uses generated list vppctl-cmd-list to provide bash completion *List of commands generated using grep, then moved by vpp packaging *Once vpp package installed restart bash to use Change-Id: I3b25e55a432c395af421231cf7c37c2e243fee61 Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk
index e192155ba5a..4183675042b 100644
--- a/build-data/platforms.mk
+++ b/build-data/platforms.mk
@@ -75,6 +75,14 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
echo ../../src/vpp/conf/80-vpp.conf /etc/sysctl.d \
>> deb/debian/vpp.install ; \
\
+ : bash completion for vppctl ; \
+ echo ../../src/scripts/vppctl_completion /etc/bash_completion.d \
+ >> deb/debian/vpp.install ; \
+ \
+ : move dictionary of vppctl commands ; \
+ echo ../../src/scripts/vppctl-cmd-list /usr/share/vpp \
+ >> deb/debian/vpp.install ; \
+ \
: dev package needs a couple of additions ; \
echo ../$(INSTALL_PREFIX)$(ARCH)/vpp/bin/vppapigen /usr/bin \
>> deb/debian/vpp-dev.install ; \