1 if get_option('with-docs') != 'no'
11 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
12 version_conf = configuration_data()
13 version_conf.set('GLIB_VERSION', meson.project_version())
15 input: 'version.xml.in',
16 output: 'version.xml',
17 configuration: version_conf
20 gnome.gtkdoc('gobject',
21 main_xml : 'gobject-docs.xml',
23 gobject_typesfile : join_paths(meson.current_source_dir(), 'gobject.types'),
25 dependencies : [libgobject_dep, libglib_dep],
28 '--deprecated-guards=G_DISABLE_DEPRECATED',
29 '--ignore-decorators=G_GNUC_INTERNAL|G_GNUC_WARN_UNUSED_RESULT',
30 '--ignore-headers=' + ' '.join(ignore_headers),
34 'glib-genmarshal.xml',
47 '--html-dir=' + docpath,
48 '--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'),
54 if get_option('with-man') != 'no' and xsltproc.found()
55 manpages = ['glib-mkenums', 'glib-genmarshal', 'gobject-query']
56 foreach page : manpages
57 custom_target(page + '-man',
60 command: xsltproc_command,
62 install_dir: man1_dir)