1 From 71c51206e037c0bb5759e01b307b7ce1d5934703 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Fri, 6 Sep 2019 17:07:00 +0200
4 Subject: [PATCH] Do not generate gtkdoc or python bindings
6 All of these really need a configuration option.
8 Upstream-Status: Inappropriate [oe-core specific]
9 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 meson.build | 12 ------------
12 modulemd/meson.build | 8 --------
13 2 files changed, 20 deletions(-)
15 diff --git a/meson.build b/meson.build
16 index 155c9e7..fe35d5e 100644
19 @@ -51,25 +51,13 @@ gnome = import('gnome')
20 pkg = import('pkgconfig')
21 gobject = dependency('gobject-2.0')
22 yaml = dependency('yaml-0.1')
23 -gtkdoc = dependency('gtk-doc')
25 glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
26 -glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
28 sh = find_program('sh')
29 sed = find_program('sed')
30 test = find_program('test')
32 -ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
33 -if ret.returncode() != 0
34 - error('Missing documentation for GLib.')
37 -ret = run_command ([test, '-e', join_paths(glib_docpath, 'gobject/index.html')])
38 -if ret.returncode() != 0
39 - error('Missing documentation for GObject.')
42 python_name = get_option('python_name')
45 diff --git a/modulemd/meson.build b/modulemd/meson.build
46 index 9a164b5..349c982 100644
47 --- a/modulemd/meson.build
48 +++ b/modulemd/meson.build
49 @@ -523,11 +523,3 @@ configure_file(
50 configuration : xcdata
55 - install_dir: 'modulemd-1.0',
56 - src_dir : './modulemd',
57 - main_xml : 'modulemd-docs.xml',