mirror_lxc/config/bash/meson.build
Antonio Terceiro 25d1b3fb09 bash: rename main bash completion file
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>
2022-05-12 10:47:18 -03:00

40 lines
744 B
Meson

# SPDX-License-Identifier: LGPL-2.1-or-later
bash_completion = configure_file(
configuration: conf,
input: '_lxc.in',
output: '_lxc',
install: true,
install_dir: bashcompletiondir)
foreach cmd: [
'lxc-attach',
'lxc-autostart',
'lxc-cgroup',
'lxc-checkpoint',
'lxc-config',
'lxc-console',
'lxc-copy',
'lxc-create',
'lxc-destroy',
'lxc-device',
'lxc-execute',
'lxc-freeze',
'lxc-info',
'lxc-ls',
'lxc-monitor',
'lxc-snapshot',
'lxc-start',
'lxc-stop',
'lxc-top',
'lxc-unfreeze',
'lxc-unshare',
'lxc-usernsexec',
'lxc-wait',
]
install_symlink(cmd,
pointing_to: '_lxc',
install_dir: bashcompletiondir)
endforeach