[atk] meson: Add atkversion.h to introspection build



commit dc009fa2c87e3f3e0bdcd7068057e7c5a5cd991f
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jun 7 08:59:37 2017 +0200

    meson: Add atkversion.h to introspection build

 atk/meson.build |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/atk/meson.build b/atk/meson.build
index acdad61..014001a 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -78,7 +78,7 @@ atk_version_conf.set('ATK_MICRO_VERSION', atk_micro_version)
 atk_version_conf.set('ATK_BINARY_AGE', atk_binary_age)
 atk_version_conf.set('ATK_INTERFACE_AGE', atk_interface_age)
 
-configure_file(input: 'atkversion.h.in',
+atk_version_h = configure_file(input: 'atkversion.h.in',
                output: 'atkversion.h',
                configuration: atk_version_conf,
                install: true,
@@ -127,7 +127,7 @@ libatk_dep = declare_dependency(link_with: libatk,
 
 if not meson.is_cross_build()
   gnome.generate_gir(libatk,
-                     sources: atk_sources + atk_headers + [ atk_enum_h ],
+                     sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
                      namespace: 'Atk',
                      nsversion: atk_api_version,
                      identifier_prefix: 'Atk',


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