]> git.pld-linux.org Git - packages/libmodulemd.git/blob - no-docs-for-build.patch
- new, TODO: python bindings and introspection data
[packages/libmodulemd.git] / no-docs-for-build.patch
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
3 @@ -67,17 +67,7 @@
4  with_docs = get_option('with_docs')
5  if with_docs
6    gtkdoc = dependency('gtk-doc')
7 -  glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
8 -
9 -  ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
10 -  if ret.returncode() != 0
11 -    error('Missing documentation for GLib.')
12 -  endif
13 -
14 -  ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
15 -  if ret.returncode() != 0
16 -    error('Missing documentation for GObject.')
17 -  endif
18 +  glib_docpath = get_option('glib_docpath')
19  endif
20  
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
24 @@ -32,6 +32,8 @@
25  option('with_docs', type : 'boolean', value : true,
26         description : 'Build API documentation.')
27  
28 +option('glib_docpath', type : 'string')
29 +
30  option('with_manpages', type : 'feature', value : 'auto',
31         description : 'Build manual pages for included executables.')
32  
This page took 0.075284 seconds and 3 git commands to generate.