From a5d17340753eff516ea1a1e3304643c7b5a2c3fe Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 22 Aug 2017 17:40:43 +0200 Subject: Add support for the meson build system --- doc/meson.build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/meson.build (limited to 'doc') 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')]) -- cgit v1.2.1