blob: dbbf5d35336c748ebef9f027c2a68646dc03cde7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|