1 if get_option('with-docs') != 'no'
28 'gvariant-internal.h',
29 'gvariant-serialiser.h',
39 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
40 version_conf = configuration_data()
41 version_conf.set('GLIB_VERSION', meson.project_version())
43 input: 'version.xml.in',
44 output: 'version.xml',
45 configuration: version_conf
49 main_xml : 'glib-docs.xml',
52 src_dir : [ 'glib', 'gmodule' ],
53 dependencies : libglib_dep,
56 '--deprecated-guards=G_DISABLE_DEPRECATED',
57 '--ignore-decorators=GLIB_VAR|G_GNUC_WARN_UNUSED_RESULT',
58 '--ignore-headers=' + ' '.join(ignore_headers),
69 'glib-gettextize.xml',
72 'gvariant-varargs.xml',
75 expand_content_files : [
79 'file-name-encodings.png',
80 'mainloop-states.gif',
81 'Sorted_binary_tree_breadth-first_traversal.svg',
82 'Sorted_binary_tree_inorder.svg',
83 'Sorted_binary_tree_postorder.svg',
84 'Sorted_binary_tree_preorder.svg',
87 '--html-dir=' + docpath,
88 # TODO: gobject/gio extra dirs
93 if get_option('with-man') != 'no' and xsltproc.found()
94 manpages = ['glib-gettextize', 'gtester', 'gtester-report']
95 foreach page : manpages
96 custom_target(page + '-man',
99 command: xsltproc_command,
101 install_dir: man1_dir)