Commit 50a738fd authored by Corentin Noël's avatar Corentin Noël

Fix build with older Meson

parent 4e53a370
Pipeline #13537585 passed with stages
in 3 minutes and 15 seconds
......@@ -2,6 +2,17 @@ glib_prefix = glib_dep.get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(get_option('prefix'), get_option('datadir'), 'gtk-doc', 'html')
if meson.version().version_compare('<=0.43.0')
content_files = []
configuration: configuration_data(),
input: example_file,
output: 'gsignond-sasl-example.c'
content_files = example_file
main_xml: 'gsignond-plugin-sasl-docs.xml',
src_dir: src_include,
......@@ -12,7 +23,7 @@ gnome.gtkdoc(meson.project_name(),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
'--extra-dir=@0@'.format(join_paths(glib_docpath, 'gsignond'))
content_files: example_file,
content_files: content_files,
scan_args: ['--rebuild-types'],
install: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment