[libgweather] build: Use relative paths



commit 4db6c17f5001d457d91fa209cf9c8451a0257460
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Nov 27 17:53:27 2017 +0000

    build: Use relative paths
    
    Ideally, we should use a files() object, but it seems Meson does not
    like that with the `args` key for i18n.gettext().

 po-locations/meson.build |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/po-locations/meson.build b/po-locations/meson.build
index ec9cf07..7aa587d 100644
--- a/po-locations/meson.build
+++ b/po-locations/meson.build
@@ -1,2 +1,5 @@
+# XXX: This should be a files() object in data/ but i18n.gettext() does not
+# like that with Meson 0.43
+locations_its = join_paths(meson.current_source_dir(), '../data/locations.its')
 i18n.gettext('libgweather-locations',
-             args: ['--its', join_paths(meson.source_root(), 'data/locations.its')])
+             args: ['--its', locations_its])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]