Systemd/po/meson.build
Michael Biebl e17e5ba9bf meson: use join_paths consistently
With -Dsplit-usr=true, we set rootprefix to /. This leads to //lib/systemd or
//lib/udev for various dir variables. Using join_paths() avoids this.
2017-04-23 21:47:28 -04:00

15 lines
457 B
Meson

# -*- mode: meson -*-
i18n = import('i18n')
i18n.gettext(meson.project_name())
#####################################################################
intltool_merge = find_program('intltool-merge')
po_dir = meson.current_source_dir()
intltool_cache = join_paths(meson.current_build_dir(), 'intltool-merge-cache')
intltool_command = [intltool_merge, '-x', '-u',
'-c', intltool_cache,
po_dir, '@INPUT@', '@OUTPUT@']