1 if get_option('gtk_doc')
18 'gcontenttypeprivate.h',
19 'gcontextspecificgroup.h',
20 'gcredentialsprivate.h',
21 'gdbus-daemon-generated.h',
22 'gdbusactiongroup-private.h',
24 'gdbusauthmechanismanon.h',
25 'gdbusauthmechanismexternal.h',
26 'gdbusauthmechanism.h',
27 'gdbusauthmechanismsha1.h',
30 'gdelayedsettingsbackend.h',
32 'gdummyproxyresolver.h',
34 'gfileattribute-priv.h',
40 'glocaldirectorymonitor.h',
41 'glocalfileenumerator.h',
44 'glocalfileinputstream.h',
45 'glocalfileiostream.h',
46 'glocalfilemonitor.h',
47 'glocalfileoutputstream.h',
50 'gnativevolumemonitor.h',
51 'gnetworkingprivate.h',
52 'gnetworkmonitorbase.h',
53 'gnetworkmonitornetlink.h',
54 'gnetworkmonitornm.h',
55 'gnetworkmonitorportal.h',
56 'gnotificationbackend.h',
57 'gnotification-private.h',
59 'gproxyresolverportal.h',
60 'gregistrysettingsbackend.h',
62 'gsettingsbackendinternal.h',
63 'gsettings-mapping.h',
64 'gsettingsschema-internal.h',
65 'gsocketinputstream.h',
66 'gsocketoutputstream.h',
70 'gsubprocesslauncher-private.h',
71 'gthreadedresolver.h',
72 'gunionvolumemonitor.h',
76 'gunixvolumemonitor.h',
79 'gwin32registrykey.h',
81 'gwin32volumemonitor.h',
86 if host_system == 'windows'
88 'gfiledescriptorbased.h',
90 'gunixcredentialsmessage.h',
95 'gunixoutputstream.h',
96 'gunixsocketaddress.h',
102 ignore_headers += ['gdesktopappinfo.h']
104 ignore_headers += ['gosxappinfo.h']
108 'gwin32networkmonitor.h',
109 'gwin32inputstream.h',
110 'gwin32outputstream.h',
114 ignore_decorators = [
117 'G_GNUC_WARN_UNUSED_RESULT',
118 'GLIB_AVAILABLE_IN_ALL',
119 'GLIB_AVAILABLE_IN_2_26',
120 'GLIB_AVAILABLE_IN_2_28',
121 'GLIB_AVAILABLE_IN_2_30',
122 'GLIB_AVAILABLE_IN_2_32',
123 'GLIB_AVAILABLE_IN_2_34',
124 'GLIB_AVAILABLE_IN_2_36',
125 'GLIB_AVAILABLE_IN_2_38',
126 'GLIB_AVAILABLE_IN_2_40',
127 'GLIB_AVAILABLE_IN_2_42',
128 'GLIB_AVAILABLE_IN_2_44',
129 'GLIB_AVAILABLE_IN_2_46',
130 'GLIB_AVAILABLE_IN_2_48',
131 'GLIB_AVAILABLE_IN_2_50',
132 'GLIB_AVAILABLE_IN_2_52',
133 'GLIB_AVAILABLE_IN_2_54',
134 'GLIB_AVAILABLE_IN_2_56',
135 'GLIB_DEPRECATED_IN_2_26',
136 'GLIB_DEPRECATED_IN_2_26_FOR',
137 'GLIB_DEPRECATED_IN_2_28',
138 'GLIB_DEPRECATED_IN_2_28_FOR',
139 'GLIB_DEPRECATED_IN_2_30',
140 'GLIB_DEPRECATED_IN_2_30_FOR',
141 'GLIB_DEPRECATED_IN_2_32',
142 'GLIB_DEPRECATED_IN_2_32_FOR',
143 'GLIB_DEPRECATED_IN_2_34',
144 'GLIB_DEPRECATED_IN_2_34_FOR',
145 'GLIB_DEPRECATED_IN_2_36',
146 'GLIB_DEPRECATED_IN_2_36_FOR',
147 'GLIB_DEPRECATED_IN_2_38',
148 'GLIB_DEPRECATED_IN_2_38_FOR',
149 'GLIB_DEPRECATED_IN_2_40',
150 'GLIB_DEPRECATED_IN_2_40_FOR',
151 'GLIB_DEPRECATED_IN_2_42',
152 'GLIB_DEPRECATED_IN_2_42_FOR',
153 'GLIB_DEPRECATED_IN_2_44',
154 'GLIB_DEPRECATED_IN_2_44_FOR',
155 'GLIB_DEPRECATED_IN_2_46',
156 'GLIB_DEPRECATED_IN_2_46_FOR',
157 'GLIB_DEPRECATED_IN_2_48',
158 'GLIB_DEPRECATED_IN_2_48_FOR',
159 'GLIB_DEPRECATED_IN_2_50',
160 'GLIB_DEPRECATED_IN_2_50_FOR',
161 'GLIB_DEPRECATED_IN_2_52',
162 'GLIB_DEPRECATED_IN_2_52_FOR',
163 'GLIB_DEPRECATED_IN_2_54',
164 'GLIB_DEPRECATED_IN_2_54_FOR',
165 'GLIB_DEPRECATED_IN_2_56',
166 'GLIB_DEPRECATED_IN_2_56_FOR',
169 # FIXME: More win32 headers were added to fix building gio-scan
171 # FIXME: ExampleAnimal docs aren't built
173 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
174 version_conf = configuration_data()
175 version_conf.set('VERSION', meson.project_version())
177 input: 'version.xml.in',
178 output: 'version.xml',
179 configuration: version_conf
183 main_xml : 'gio-docs.xml',
186 dependencies : [libgio_dep, libgobject_dep, libglib_dep],
190 '--deprecated-guards=G_DISABLE_DEPRECATED',
191 '--ignore-decorators=' + '|'.join(ignore_decorators),
192 '--ignore-headers=' + ' '.join(ignore_headers),
196 'migrating-posix.xml',
197 'migrating-gnome-vfs.xml',
198 'migrating-gconf.xml',
199 'migrating-gdbus.xml',
200 'gio-querymodules.xml',
201 'glib-compile-schemas.xml',
202 'glib-compile-resources.xml',
209 expand_content_files : [
211 'migrating-posix.xml',
212 'migrating-gnome-vfs.xml',
213 'migrating-gconf.xml',
214 'migrating-gdbus.xml',
223 '--html-dir=' + docpath,
224 '--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'),
225 '--extra-dir=' + join_paths(meson.current_build_dir(), '../gobject/html'),
233 manpages = ['gapplication', 'gio-querymodules', 'glib-compile-schemas',
234 'glib-compile-resources', 'gsettings', 'gresource', 'gdbus',
235 'gio', 'gdbus-codegen']
236 foreach page : manpages
237 custom_target(page + '-man',
238 input: page + '.xml',
240 command: xsltproc_command,
242 install_dir: man1_dir)