diff options
author | Padraig Connolly <padraig.connolly@intel.com> | 2016-11-29 17:17:20 +0000 |
---|---|---|
committer | Chris Luke <chris_luke@comcast.com> | 2017-01-09 15:20:49 +0000 |
commit | d995c757f05f78aa759b0a65c0a7e38088e690a9 (patch) | |
tree | 5055f3c18d184f20d949817f2a33e7e52006cf53 /build-data | |
parent | 0d3c1cc7626ac39f25975ebf9d92ba903d470f79 (diff) |
vppctl: bash completion for vppctl commands
Added bash completion that will include all commands from build time
*Script takes list of commands generated by doxygen-siphon-list
*Configured doxygen-siphon makefile to generate just cli commands
*List of cli commands put in /usr/share/vpp
*Stopped siphon using doxygen bootstrap, uses main bootstrap instead
*Added rpm/deb check for installation of packages, separate from bootstrap
*NOTE: Once you have installed the vpp .deb/.rpm package you will have to
restart bash
Change-Id: Ie503e80d5177481f6e7dbe59378f2e0d76f29152
Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
Diffstat (limited to 'build-data')
-rw-r--r-- | build-data/platforms.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk index e192155b..111a45dc 100644 --- a/build-data/platforms.mk +++ b/build-data/platforms.mk @@ -73,6 +73,14 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES)) \ : and sysctl config ; \ 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 ../docs/siphon_docs/clicmd.itemlist /usr/share/vpp \ >> deb/debian/vpp.install ; \ \ : dev package needs a couple of additions ; \ |