File: meson.build

package info (click to toggle)
p11-kit 0.26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 12,088 kB
  • sloc: ansic: 73,585; sh: 7,776; xml: 1,953; makefile: 1,200; python: 675; sed: 39
file content (15 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
bashcompdir = get_option('bashcompdir')
if bashcompdir == ''
  bashcomp = dependency('bash-completion', required: get_option('bash_completion'))
  if bashcomp.found()
    bashcompdir = bashcomp.get_variable(pkgconfig : 'completionsdir')
  else
    warning('Will not install bash completion due to missing dependencies!')
  endif
endif
if bashcompdir != ''
  install_data('p11-kit', install_dir: bashcompdir)
  if with_trust_module
    install_data('trust', install_dir: bashcompdir)
  endif
endif