
getting_started.xml uses relative paths for including code examples and for some reason the base path is different with meson than with autotools. Switch both autotools and meson to generate the file and insert the absolute source path instead. This also cleans up the content file list: the expand content files have to be in the content file list as well, so just append them there.
23 lines
839 B
Meson
23 lines
839 B
Meson
if get_option('documentation')
|
|
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
|
|
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
|
|
|
|
cairo_prefix = dependency('cairo-gobject').get_pkgconfig_variable('prefix')
|
|
cairo_docpath = join_paths(cairo_prefix, 'share', 'gtk-doc', 'html', 'cairo')
|
|
|
|
gdkpixbuf_prefix = dependency('gdk-pixbuf-2.0').get_pkgconfig_variable('prefix')
|
|
gdkpixbuf_docpath = join_paths(gdkpixbuf_prefix, 'share', 'gtk-doc', 'html', 'gdk-pixbuf')
|
|
|
|
docpath = join_paths(gtk_datadir, 'gtk-doc', 'html')
|
|
|
|
version_conf = configuration_data()
|
|
version_conf.set('GTK_VERSION', meson.project_version())
|
|
|
|
src_dir_conf = configuration_data()
|
|
src_dir_conf.set('abs_top_srcdir', meson.source_root())
|
|
endif
|
|
|
|
subdir('gdk')
|
|
subdir('gtk')
|
|
subdir('libgail-util')
|