File: meson.build

package info (click to toggle)
glib2.0 2.87.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 67,436 kB
  • sloc: ansic: 546,337; python: 9,937; sh: 1,612; xml: 1,511; perl: 1,223; cpp: 551; makefile: 308; javascript: 11
file content (26 lines) | stat: -rw-r--r-- 983 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
# Install glib-gettextize executable, if a UNIX-style shell is found
if have_sh
  # These should not contain " quotes around the values
  gettextize_conf = configuration_data()
  gettextize_conf.set('PACKAGE', 'glib')
  gettextize_conf.set('VERSION', meson.project_version())
  gettextize_conf.set('prefix', glib_prefix)
  gettextize_conf.set('datarootdir', glib_datadir)
  gettextize_conf.set('datadir', glib_datadir)
  configure_file(input : 'glib-gettextize.in',
    install_dir : glib_bindir,
    install_tag : 'bin-devel',
    output : 'glib-gettextize',
    configuration : gettextize_conf)
endif

if host_system != 'windows'
  # Install Valgrind suppression file (except on Windows,
  # as Valgrind is currently not supported on Windows)
  install_data(fs.name(valgrind_suppression_file),
    install_dir : get_option('datadir') / valgrind_suppression_file_install_subdir,
    install_tag : 'devel',
  )
endif

gen_visibility_macros = find_program('gen-visibility-macros.py')