1 --- modulemd-2.12.0/meson.build~ 2021-01-15 03:08:36.000000000 +0100
2 +++ modulemd-2.12.0/meson.build 2021-03-13 21:03:35.939739304 +0100
4 with_docs = get_option('with_docs')
6 gtkdoc = dependency('gtk-doc')
7 - glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
9 - ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
10 - if ret.returncode() != 0
11 - error('Missing documentation for GLib.')
14 - ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
15 - if ret.returncode() != 0
16 - error('Missing documentation for GObject.')
18 + glib_docpath = get_option('glib_docpath')
21 with_manpages = get_option('with_manpages')
22 --- modulemd-2.12.0/meson_options.txt~ 2021-01-15 03:08:36.000000000 +0100
23 +++ modulemd-2.12.0/meson_options.txt 2021-03-13 21:09:46.821667993 +0100
25 option('with_docs', type : 'boolean', value : true,
26 description : 'Build API documentation.')
28 +option('glib_docpath', type : 'string')
30 option('with_manpages', type : 'feature', value : 'auto',
31 description : 'Build manual pages for included executables.')