[gsettings-desktop-schemas/wip/nacho/enum-schemas] meson: generate and install the enum schemas
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gsettings-desktop-schemas/wip/nacho/enum-schemas] meson: generate and install the enum schemas
- Date: Mon, 14 Jan 2019 11:11:20 +0000 (UTC)
commit d2cda9f405d536ef4446177d679326f3c01d5203
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Mon Jan 14 12:10:06 2019 +0100
meson: generate and install the enum schemas
schemas/meson.build | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/schemas/meson.build b/schemas/meson.build
index 69a3f98..3f3323a 100644
--- a/schemas/meson.build
+++ b/schemas/meson.build
@@ -39,6 +39,19 @@ conf.set('datarootdir', datadir)
conf.set('datadir', datadir)
conf.set('includedir', includedir)
+gnome.mkenums(
+ 'org.gnome.desktop.enums.xml',
+ sources: headers,
+ comments: '<!-- @comment@ -->',
+ fhead: '<schemalist>',
+ vhead: ' <@type@ id="org.gnome.desktop.@EnumName@">',
+ vprod: ' <value nick="@valuenick@" value="@valuenum@"/>',
+ vtail: ' </@type@>',
+ ftail: '</schemalist>',
+ install_header: true,
+ install_dir: schemasdir
+)
+
generated_schemas = []
foreach schema: schemas
generated_schemas += configure_file(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]