diff --git a/bash-completion/meson.build b/bash-completion/meson.build index 9e10d9e..dbbf5d3 100644 --- a/bash-completion/meson.build +++ b/bash-completion/meson.build @@ -8,3 +8,6 @@ if bashcompdir == '' warning('Will not install bash completion due to missing dependencies!') endif endif +if bashcompdir != '' + install_data('secret-tool', install_dir: bashcompdir) +endif diff --git a/meson_options.txt b/meson_options.txt index 445aeb0..87dced1 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,3 +4,4 @@ option('debugging', type: 'boolean', value: false, description: 'Turn debugging option('vapi', type: 'boolean', value: true, description: 'Create VAPI file.') option('gtk_doc', type: 'boolean', value: true, description: 'Build reference documentation using gtk-doc') option('introspection', type: 'boolean', value: true, description: 'Create GIR file.') +option('bashcompdir', type: 'string', value: '', description: 'Override default location for bash completion files')