Since the `lxc` binary is actually provided by lxd, the main
bash-completion file needs to be moved away to not conflict with a bash
completion file provided for the `lxc` binary by lxd.
Signed-off-by: Antonio Terceiro <terceiro@debian.org>
-EXTRA_DIST = lxc
+EXTRA_DIST = _lxc
if ENABLE_BASH
-dist_bashcomp_DATA = lxc
+dist_bashcomp_DATA = _lxc
endif
bash_completion = configure_file(
configuration: conf,
- input: 'lxc.in',
- output: 'lxc',
+ input: '_lxc.in',
+ output: '_lxc',
install: true,
install_dir: bashcompletiondir)
'lxc-wait',
]
install_symlink(cmd,
- pointing_to: 'lxc',
+ pointing_to: '_lxc',
install_dir: bashcompletiondir)
endforeach
config/apparmor/abstractions/start-container
config/selinux/Makefile
config/bash/Makefile
- config/bash/lxc
+ config/bash/_lxc
config/init/Makefile
config/init/common/Makefile
config/init/common/lxc-containers
install-data-local:
cd $(DESTDIR)$(bashcompdir); \
for bin in $(bin_PROGRAMS) ; do \
- ln -sf lxc $$bin ; \
+ ln -sf _lxc $$bin ; \
done
endif
endif