Commit fd8643c0 authored by Alexander Kanavin's avatar Alexander Kanavin

Merge branch 'tintou/fix-older-meson' into 'master'

Fix build with older Meson

See merge request !4
parents 4e53a370 50a738fd
Pipeline #13538559 passed with stages
in 6 minutes and 2 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 = []
configure_file(
configuration: configuration_data(),
input: example_file,
output: 'gsignond-sasl-example.c'
)
else
content_files = example_file
endif
gnome.gtkdoc(meson.project_name(),
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