File: meson.build

package info (click to toggle)
mutter 49.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,732 kB
  • sloc: ansic: 397,916; xml: 3,384; python: 3,270; sh: 389; ruby: 167; makefile: 61; javascript: 26
file content (40 lines) | stat: -rw-r--r-- 897 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
install_data(
  'gdctl',
  install_dir: bindir,
)

install_data(
  'gnome-service-client',
  install_dir: bindir,
)

if have_bash_completion
  bash_completion = dependency('bash-completion', required: false)
  if bash_completion.found()
    bash_completion_dir = bash_completion.get_variable(
      pkgconfig: 'completionsdir',
      pkgconfig_define: ['datadir', datadir],
    )
  else
    bash_completion_dir = get_option('sysconfdir') / 'bash_completion.d'
  endif

  register_python_argcomplete = find_program('register-python-argcomplete')

  custom_target(
    'gdctl-bash-completion',
    output: 'gdctl',
    command: [
      register_python_argcomplete,
      'gdctl',
      '--complete-arguments',
      '-o nosort',
    ],
    capture: true,
    install_dir: bash_completion_dir,
    install: true,
  )
endif

gdctl = find_program('gdctl')
get_state_tool = find_program('get-state.py')