[gnome-online-accounts/ebassi/release-43-alpha: 3/4] Remove unnecessary template file




commit 6b7f348dc59b9e021c3069900937c4e57dcd2f1d
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Jul 10 22:23:13 2022 +0100

    Remove unnecessary template file
    
    The goaconfig.h.in template was messing up the build by using symbols
    defined in GLib without including glib.h. Instead of adding an include,
    though, we can simply drop the template and have Meson build one for us.

 src/goa/goaconfig.h.in | 17 -----------------
 src/goa/meson.build    |  5 +----
 2 files changed, 1 insertion(+), 21 deletions(-)
---
diff --git a/src/goa/meson.build b/src/goa/meson.build
index 1d86b7b0..367de68c 100644
--- a/src/goa/meson.build
+++ b/src/goa/meson.build
@@ -35,11 +35,8 @@ goaconfig_conf.set('GOA_MAJOR_VERSION', goa_major_version)
 goaconfig_conf.set('GOA_MINOR_VERSION', goa_minor_version)
 goaconfig_conf.set('GOA_MICRO_VERSION', goa_micro_version)
 
-goaconfig = 'goaconfig.h'
-
 goaconfig_h = configure_file(
-  input: goaconfig + '.in',
-  output: goaconfig,
+  output: 'goaconfig.h',
   configuration: goaconfig_conf,
   install: true,
   install_dir: join_paths(goa_pkglibdir, 'include')


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