[gnome-todo] build: Generate config.h in src/



commit d946fc31444d56e8d8cc2fff451802413b717ce6
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Sat May 2 00:16:23 2020 -0300

    build: Generate config.h in src/

 meson.build     | 2 --
 src/meson.build | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index badfaac..14f4bea 100644
--- a/meson.build
+++ b/meson.build
@@ -161,8 +161,6 @@ gnome_todo_deps = [
   cc.find_library('m', required: true)
 ]
 
-configure_file(output: 'config.h', configuration: config_h)
-
 gnome = import('gnome')
 i18n = import('i18n')
 pkg = import('pkgconfig')
diff --git a/src/meson.build b/src/meson.build
index c2b8262..b0434f6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -5,6 +5,8 @@ sources = []
 # VCS #
 #######
 
+configure_file(output: 'config.h', configuration: config_h)
+
 vcs_tag = vcs_tag(
   fallback: get_option('profile') != 'default'? 'devel' : 'stable',
      input: 'gtd-vcs.h.in',


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