File: meson.build

package info (click to toggle)
libvirt 11.10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 211,168 kB
  • sloc: ansic: 537,214; xml: 335,516; python: 12,041; perl: 2,626; sh: 2,175; makefile: 448; javascript: 126; cpp: 22
file content (35 lines) | stat: -rw-r--r-- 930 bytes parent folder | download | duplicates (5)
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
i18n.gettext(
  meson.project_name(),
  args: [
    '--from-code=UTF-8',
    '--keyword=_',
    '--keyword=N_',
    '--add-comments=TRANSLATORS:',
    '--directory=@0@'.format(meson.project_source_root()),
    '--directory=@0@'.format(meson.project_build_root()),
    '--files-from=@0@'.format(meson.current_source_dir() / 'POTFILES'),
    '--msgid-bugs-address=https://libvirt.org/bugs.html',
    '--package-version=@0@'.format(meson.project_version()),
    '--sort-output',
  ],
  data_dirs: meson.current_source_dir()
)

potfiles_dep = [
  access_generated,
  admin_client_generated,
  admin_driver_generated,
  remote_protocol_generated,
  remote_driver_generated,
  remote_daemon_generated,
]

alias_target('libvirt-pot-dep', potfiles_dep)

run_target(
  'libvirt-pot-check',
  command: [
    '@0@/scripts/check-pot.py'.format(meson.project_source_root()),
    '@0@/po/libvirt.pot'.format(meson.project_source_root())
  ],
)