1 if get_option('with-docs') != 'no'
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 'gnotificationbackend.h',
56 'gnotification-private.h',
58 'gregistrysettingsbackend.h',
60 'gsettingsbackendinternal.h',
61 'gsettings-mapping.h',
62 'gsettingsschema-internal.h',
63 'gsocketinputstream.h',
64 'gsocketoutputstream.h',
68 'gsubprocesslauncher-private.h',
69 'gthreadedresolver.h',
70 'gunionvolumemonitor.h',
74 'gunixvolumemonitor.h',
76 'gwin32inputstream.h',
78 'gwin32outputstream.h',
79 'gwin32registrykey.h',
81 'gwin32volumemonitor.h',
89 'G_GNUC_WARN_UNUSED_RESULT',
90 'GLIB_AVAILABLE_IN_ALL',
91 'GLIB_AVAILABLE_IN_2_26',
92 'GLIB_AVAILABLE_IN_2_28',
93 'GLIB_AVAILABLE_IN_2_30',
94 'GLIB_AVAILABLE_IN_2_32',
95 'GLIB_AVAILABLE_IN_2_34',
96 'GLIB_AVAILABLE_IN_2_36',
97 'GLIB_AVAILABLE_IN_2_38',
98 'GLIB_AVAILABLE_IN_2_40',
99 'GLIB_AVAILABLE_IN_2_42',
100 'GLIB_AVAILABLE_IN_2_44',
101 'GLIB_AVAILABLE_IN_2_46',
102 'GLIB_AVAILABLE_IN_2_48',
103 'GLIB_AVAILABLE_IN_2_50',
104 'GLIB_AVAILABLE_IN_2_52',
105 'GLIB_AVAILABLE_IN_2_54',
106 'GLIB_AVAILABLE_IN_2_56',
107 'GLIB_DEPRECATED_IN_2_26',
108 'GLIB_DEPRECATED_IN_2_26_FOR',
109 'GLIB_DEPRECATED_IN_2_28',
110 'GLIB_DEPRECATED_IN_2_28_FOR',
111 'GLIB_DEPRECATED_IN_2_30',
112 'GLIB_DEPRECATED_IN_2_30_FOR',
113 'GLIB_DEPRECATED_IN_2_32',
114 'GLIB_DEPRECATED_IN_2_32_FOR',
115 'GLIB_DEPRECATED_IN_2_34',
116 'GLIB_DEPRECATED_IN_2_34_FOR',
117 'GLIB_DEPRECATED_IN_2_36',
118 'GLIB_DEPRECATED_IN_2_36_FOR',
119 'GLIB_DEPRECATED_IN_2_38',
120 'GLIB_DEPRECATED_IN_2_38_FOR',
121 'GLIB_DEPRECATED_IN_2_40',
122 'GLIB_DEPRECATED_IN_2_40_FOR',
123 'GLIB_DEPRECATED_IN_2_42',
124 'GLIB_DEPRECATED_IN_2_42_FOR',
125 'GLIB_DEPRECATED_IN_2_44',
126 'GLIB_DEPRECATED_IN_2_44_FOR',
127 'GLIB_DEPRECATED_IN_2_46',
128 'GLIB_DEPRECATED_IN_2_46_FOR',
129 'GLIB_DEPRECATED_IN_2_48',
130 'GLIB_DEPRECATED_IN_2_48_FOR',
131 'GLIB_DEPRECATED_IN_2_50',
132 'GLIB_DEPRECATED_IN_2_50_FOR',
133 'GLIB_DEPRECATED_IN_2_52',
134 'GLIB_DEPRECATED_IN_2_52_FOR',
135 'GLIB_DEPRECATED_IN_2_54',
136 'GLIB_DEPRECATED_IN_2_54_FOR',
137 'GLIB_DEPRECATED_IN_2_56',
138 'GLIB_DEPRECATED_IN_2_56_FOR',
141 # FIXME: More win32 headers were added to fix building gio-scan
143 # FIXME: ExampleAnimal docs aren't built
145 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
146 version_conf = configuration_data()
147 version_conf.set('VERSION', meson.project_version())
149 input: 'version.xml.in',
150 output: 'version.xml',
151 configuration: version_conf
155 main_xml : 'gio-docs.xml',
157 gobject_typesfile : 'gio.types',
159 dependencies : [libgio_dep, libgobject_dep, libglib_dep],
163 '--deprecated-guards=G_DISABLE_DEPRECATED',
164 '--ignore-decorators=' + '|'.join(ignore_decorators),
165 '--ignore-headers=' + ' '.join(ignore_headers),
169 'migrating-posix.xml',
170 'migrating-gnome-vfs.xml',
171 'migrating-gconf.xml',
172 'migrating-gdbus.xml',
173 'gio-querymodules.xml',
174 'glib-compile-schemas.xml',
175 'glib-compile-resources.xml',
182 expand_content_files : [
184 'migrating-posix.xml',
185 'migrating-gnome-vfs.xml',
186 'migrating-gconf.xml',
187 'migrating-gdbus.xml',
196 '--html-dir=' + docpath,
197 '--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'),
198 '--extra-dir=' + join_paths(meson.current_build_dir(), '../gobject/html'),
205 if get_option('with-man') != 'no' and xsltproc.found()
206 manpages = ['gapplication', 'gio-querymodules', 'glib-compile-schemas',
207 'glib-compile-resources', 'gsettings', 'gresource', 'gdbus',
208 'gio', 'gdbus-codegen']
209 foreach page : manpages
210 custom_target(page + '-man',
211 input: page + '.xml',
213 command: xsltproc_command,
215 install_dir: man1_dir)