Blame bash-completion/meson.build

Packit Service f30af4
bashcompdir = get_option('bashcompdir')
Packit Service f30af4
if bashcompdir == ''
Packit Service f30af4
  bashcomp = dependency('bash-completion', required: get_option('bash_completion'))
Packit Service f30af4
  if bashcomp.found()
Packit Service f30af4
    bashcompdir = bashcomp.get_pkgconfig_variable('completionsdir')
Packit Service f30af4
  else
Packit Service f30af4
    warning('Will not install bash completion due to missing dependencies!')
Packit Service f30af4
  endif
Packit Service f30af4
endif
Packit Service f30af4
if bashcompdir != ''
Packit Service 3749ba
  install_data('p11-kit', install_dir: bashcompdir)
Packit Service 3749ba
  if with_trust_module
Packit Service 3749ba
    install_data('trust', install_dir: bashcompdir)
Packit Service 3749ba
  endif
Packit Service 3749ba
endif