summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2017-08-22 17:40:43 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2017-11-26 16:59:24 -0800
commita5d17340753eff516ea1a1e3304643c7b5a2c3fe (patch)
tree643f3680566ed565ffa09e6d13f3521d8c5f7ed4 /doc
parenta1f4c720b9c0a932a4e42280ca67222593cdfa76 (diff)
downloadlibgweather-a5d17340753eff516ea1a1e3304643c7b5a2c3fe.tar.gz
Add support for the meson build system
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/meson.build b/doc/meson.build
new file mode 100644
index 0000000..455ae1e
--- /dev/null
+++ b/doc/meson.build
@@ -0,0 +1,17 @@
+
+version_conf = configuration_data()
+version_conf.set('LIBGWEATHER_VERSION', meson.project_version())
+configure_file(input: 'version.xml.in', output: 'version.xml', configuration: version_conf)
+
+gnome.gtkdoc('libgweather',
+ main_xml: 'libgweather-docs.xml',
+ dependencies: libgweather_dep,
+ gobject_typesfile: join_paths(meson.current_source_dir(), 'libgweather.types'),
+ ignore_headers: ['gweather-enum-types.h',
+ 'gweather-parser.h',
+ 'gweather-private.h'],
+ install: true,
+ mkdb_args: ['--xml-mode', '--output-format=xml'],
+ scan_args: ['--deprecated-guards="GWEATHER_DISABLE_DEPRECATED"'],
+ src_dir: [join_paths(meson.source_root(), 'libgweather'),
+ join_paths(meson.build_root(), 'libgweather')])