1 if get_option('gtk_doc')
28 'gvariant-internal.h',
29 'gvariant-serialiser.h',
43 'G_GNUC_WARN_UNUSED_RESULT',
44 'GLIB_AVAILABLE_IN_ALL',
45 'GLIB_AVAILABLE_IN_2_26',
46 'GLIB_AVAILABLE_IN_2_28',
47 'GLIB_AVAILABLE_IN_2_30',
48 'GLIB_AVAILABLE_IN_2_32',
49 'GLIB_AVAILABLE_IN_2_34',
50 'GLIB_AVAILABLE_IN_2_36',
51 'GLIB_AVAILABLE_IN_2_38',
52 'GLIB_AVAILABLE_IN_2_40',
53 'GLIB_AVAILABLE_IN_2_42',
54 'GLIB_AVAILABLE_IN_2_44',
55 'GLIB_AVAILABLE_IN_2_46',
56 'GLIB_AVAILABLE_IN_2_48',
57 'GLIB_AVAILABLE_IN_2_50',
58 'GLIB_AVAILABLE_IN_2_52',
59 'GLIB_AVAILABLE_IN_2_54',
60 'GLIB_AVAILABLE_IN_2_56',
61 'GLIB_DEPRECATED_IN_2_26',
62 'GLIB_DEPRECATED_IN_2_26_FOR',
63 'GLIB_DEPRECATED_IN_2_28',
64 'GLIB_DEPRECATED_IN_2_28_FOR',
65 'GLIB_DEPRECATED_IN_2_30',
66 'GLIB_DEPRECATED_IN_2_30_FOR',
67 'GLIB_DEPRECATED_IN_2_32',
68 'GLIB_DEPRECATED_IN_2_32_FOR',
69 'GLIB_DEPRECATED_IN_2_34',
70 'GLIB_DEPRECATED_IN_2_34_FOR',
71 'GLIB_DEPRECATED_IN_2_36',
72 'GLIB_DEPRECATED_IN_2_36_FOR',
73 'GLIB_DEPRECATED_IN_2_38',
74 'GLIB_DEPRECATED_IN_2_38_FOR',
75 'GLIB_DEPRECATED_IN_2_40',
76 'GLIB_DEPRECATED_IN_2_40_FOR',
77 'GLIB_DEPRECATED_IN_2_42',
78 'GLIB_DEPRECATED_IN_2_42_FOR',
79 'GLIB_DEPRECATED_IN_2_44',
80 'GLIB_DEPRECATED_IN_2_44_FOR',
81 'GLIB_DEPRECATED_IN_2_46',
82 'GLIB_DEPRECATED_IN_2_46_FOR',
83 'GLIB_DEPRECATED_IN_2_48',
84 'GLIB_DEPRECATED_IN_2_48_FOR',
85 'GLIB_DEPRECATED_IN_2_50',
86 'GLIB_DEPRECATED_IN_2_50_FOR',
87 'GLIB_DEPRECATED_IN_2_52',
88 'GLIB_DEPRECATED_IN_2_52_FOR',
89 'GLIB_DEPRECATED_IN_2_54',
90 'GLIB_DEPRECATED_IN_2_54_FOR',
91 'GLIB_DEPRECATED_IN_2_56',
92 'GLIB_DEPRECATED_IN_2_56_FOR',
95 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
96 version_conf = configuration_data()
97 version_conf.set('GLIB_VERSION', meson.project_version())
99 input: 'version.xml.in',
100 output: 'version.xml',
101 configuration: version_conf
105 main_xml : 'glib-docs.xml',
108 src_dir : [ 'glib', 'gmodule' ],
109 dependencies : libglib_dep,
111 '--deprecated-guards=G_DISABLE_DEPRECATED',
112 '--ignore-decorators=' + '|'.join(ignore_decorators),
113 '--ignore-headers=' + ' '.join(ignore_headers),
124 'glib-gettextize.xml',
126 'gtester-report.xml',
127 'gvariant-varargs.xml',
130 expand_content_files : [
134 'file-name-encodings.png',
135 'mainloop-states.gif',
136 'Sorted_binary_tree_breadth-first_traversal.svg',
137 'Sorted_binary_tree_inorder.svg',
138 'Sorted_binary_tree_postorder.svg',
139 'Sorted_binary_tree_preorder.svg',
142 '--html-dir=' + docpath,
143 # TODO: gobject/gio extra dirs
149 manpages = ['glib-gettextize', 'gtester', 'gtester-report']
150 foreach page : manpages
151 custom_target(page + '-man',
152 input: page + '.xml',
154 command: xsltproc_command,
156 install_dir: man1_dir)