meson: Actually load translation files

Currently we run the script but don't actually load any files, even in a
tarball where they exist.

Fixes: 3218056e0e
       ("meson: Build i965 and dri stack")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
Dylan Baker 2018-08-24 07:05:36 -07:00
parent f172a77dd8
commit 7c00db9527

View file

@ -22,7 +22,10 @@ xmlpool_options_h = custom_target(
'xmlpool_options.h',
input : ['gen_xmlpool.py', 't_options.h'],
output : 'options.h',
command : [prog_python, '@INPUT@', meson.current_source_dir()],
command : [
prog_python, '@INPUT@', meson.current_source_dir(),
'ca', 'es', 'de', 'nl', 'sv', 'fr',
],
capture : true,
depend_files : files('ca.po', 'es.po', 'de.po', 'nl.po', 'sv.po', 'fr.po'),
)