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',
85 # FIXME: More win32 headers were added to fix building gio-scan
87 # FIXME: ExampleAnimal docs aren't built
89 docpath = join_paths(glib_datadir, 'gtk-doc', 'html')
90 version_conf = configuration_data()
91 version_conf.set('VERSION', meson.project_version())
93 input: 'version.xml.in',
94 output: 'version.xml',
95 configuration: version_conf
99 main_xml : 'gio-docs.xml',
101 gobject_typesfile : 'gio.types',
103 dependencies : [libgio_dep, libgobject_dep, libglib_dep],
107 '--deprecated-guards=G_DISABLE_DEPRECATED',
108 '--ignore-decorators=G_GNUC_WARN_UNUSED_RESULT',
109 '--ignore-headers=' + ' '.join(ignore_headers),
113 'migrating-posix.xml',
114 'migrating-gnome-vfs.xml',
115 'migrating-gconf.xml',
116 'migrating-gdbus.xml',
117 'gio-querymodules.xml',
118 'glib-compile-schemas.xml',
119 'glib-compile-resources.xml',
126 expand_content_files : [
128 'migrating-posix.xml',
129 'migrating-gnome-vfs.xml',
130 'migrating-gconf.xml',
131 'migrating-gdbus.xml',
140 '--html-dir=' + docpath,
141 '--extra-dir=' + join_paths(meson.current_build_dir(), '../glib/html'),
142 '--extra-dir=' + join_paths(meson.current_build_dir(), '../gobject/html'),
149 if get_option('with-man') != 'no' and xsltproc.found()
150 manpages = ['gapplication', 'gio-querymodules', 'glib-compile-schemas',
151 'glib-compile-resources', 'gsettings', 'gresource', 'gdbus',
152 'gio', 'gdbus-codegen']
153 foreach page : manpages
154 custom_target(page + '-man',
155 input: page + '.xml',
157 command: xsltproc_command,
159 install_dir: man1_dir)