[Mesa-dev] [PATCH 04/14] meson: use meson generated translation files

Dylan Baker dylan at pnwbakers.com
Fri Oct 26 17:23:33 UTC 2018


This is a change from the current status-quo, namely to get dri-conf
translations you now *must* run the meson generation scripts, even if
you're building from an autotools generated tarball (an official
release).

v2: - use .gmo files in build dir, not source dir.
---
 src/util/xmlpool/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/xmlpool/meson.build b/src/util/xmlpool/meson.build
index 8d645ce385f..381905b432a 100644
--- a/src/util/xmlpool/meson.build
+++ b/src/util/xmlpool/meson.build
@@ -30,7 +30,7 @@ xmlpool_options_h = custom_target(
   input : ['gen_xmlpool.py', 't_options.h'],
   output : 'options.h',
   command : [
-    prog_python, '@INPUT@', meson.current_source_dir(), _langs,
+    prog_python, '@INPUT@', '--meson', meson.current_build_dir(), _langs,
   ],
   capture : true,
   depend_files : _langs_po_files,
-- 
2.19.1



More information about the mesa-dev mailing list