virt-manager/data/meson.build
Pavel Hrdina dd909f20bc meson: add data files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00

20 lines
485 B
Meson

fs = import('fs')
install_data(
'org.virt-manager.virt-manager.gschema.xml',
install_dir: datadir / 'glib-2.0' / 'schemas',
)
bash_completion_template = files('bash-completion.sh.in')
foreach script: ['virt-install', 'virt-clone', 'virt-xml']
name = fs.name(script)
configure_file(
input: bash_completion_template,
output: name,
configuration: {'SCRIPTNAME': name},
install: true,
install_dir: datadir / 'bash-completion' / 'completions',
)
endforeach