libvirt/po/meson.build
Andrea Bolognani 55ae46a6df po: Don't generate POTFILES
Now that we have dropped prefixes from the file, it no longer
needs to go through configure_file() and we can use it directly.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2022-05-23 13:58:25 +02:00

28 lines
685 B
Meson

i18n = import('i18n')
i18n.gettext(
meson.project_name(),
args: [
'--from-code=UTF-8',
'--keyword=_',
'--keyword=N_',
'--add-comments=TRANSLATORS:',
'--directory=@0@'.format(meson.source_root()),
'--directory=@0@'.format(meson.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',
],
)
potfiles_dep = [
access_gen_sources,
admin_client_generated,
admin_driver_generated,
remote_driver_generated,
remote_daemon_generated,
]
alias_target('libvirt-pot-dep', potfiles_dep)