mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
8b1936b46f
These changes introduce a new meson option to disable installation of completion files into the system location.
14 lines
421 B
Meson
14 lines
421 B
Meson
bashcompdir = get_option('bashcompdir')
|
|
if bashcompdir == ''
|
|
bashcomp = dependency('bash-completion', required: get_option(
|
|
'bash_completion'))
|
|
if bashcomp.found()
|
|
bashcompdir = bashcomp.get_pkgconfig_variable('completionsdir')
|
|
else
|
|
warning('Will not install bash completion due to missing dependencies!')
|
|
endif
|
|
endif
|
|
if bashcompdir != ''
|
|
install_data('secret-tool', install_dir: bashcompdir)
|
|
endif
|