[recipes] Fix meson dependencies
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Fix meson dependencies
- Date: Wed, 22 Feb 2017 02:20:15 +0000 (UTC)
commit 67d3b47d5ef02cbf77a071ef97a5f23cc47f0ec6
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Feb 21 20:57:15 2017 -0500
Fix meson dependencies
Teach meson that the targets for generating recipes.db.h and
chefs.db.h depend on the recipe-extract tool which gets built
in another subdirectory.
data/meson.build | 4 ++--
tools/meson.build | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 4d864ee..c7b797c 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,14 +1,14 @@
custom_target('recipes.db.h',
input: ['recipes.db'],
output: ['recipes.db.h'],
- command: ['../tools/recipe-extract', '@INPUT@'],
+ command: [recipe_extract, '@INPUT@'],
capture: true,
build_by_default: true)
custom_target('chefs.db.h',
input: ['chefs.db'],
output: ['chefs.db.h'],
- command: ['../tools/recipe-extract', '--chefs', '@INPUT@'],
+ command: [recipe_extract, '--chefs', '@INPUT@'],
capture: true,
build_by_default: true)
diff --git a/tools/meson.build b/tools/meson.build
index 27edff8..39d14cf 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -1,3 +1,3 @@
-executable('recipe-extract', 'recipe-extract.c',
+recipe_extract = executable('recipe-extract', 'recipe-extract.c',
include_directories : top_inc,
dependencies: deps)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]