summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/meson.build
blob: db4b00bcb7a888f378ba9fe1d9a66b844632e5da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if bashcompletiondir != 'no'
  aliases = [
    'pacat',
    'pacmd',
    'pactl',
    'padsp',
    'paplay',
    'parec',
    'parecord',
    'pasuspender',
  ]

  install_data('pulseaudio', install_dir : bashcompletiondir)

  foreach alias : aliases
    dst = join_paths(bashcompletiondir, alias)
    cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pulseaudio', dst)
    meson.add_install_script('sh', '-c', cmd)
  endforeach
endif