2017-11-28 16:44:04 +01:00
|
|
|
if get_option('man')
|
2017-03-21 12:08:47 +01:00
|
|
|
manpages = ['gapplication', 'gio-querymodules', 'glib-compile-schemas',
|
|
|
|
'glib-compile-resources', 'gsettings', 'gresource', 'gdbus',
|
|
|
|
'gio', 'gdbus-codegen']
|
|
|
|
foreach page : manpages
|
|
|
|
custom_target(page + '-man',
|
|
|
|
input: page + '.xml',
|
|
|
|
output: page + '.1',
|
|
|
|
command: xsltproc_command,
|
|
|
|
install: true,
|
|
|
|
install_dir: man1_dir)
|
|
|
|
endforeach
|
2016-12-07 11:28:33 +01:00
|
|
|
endif
|
2023-10-10 00:04:21 +02:00
|
|
|
|
|
|
|
expand_content_files = [
|
2023-11-14 00:34:22 +01:00
|
|
|
'dbus-error.md',
|
2023-11-14 00:43:20 +01:00
|
|
|
'dbus-introspection.md',
|
2023-11-14 00:48:44 +01:00
|
|
|
'dbus-name-owning.md',
|
2023-11-14 00:54:49 +01:00
|
|
|
'dbus-name-watching.md',
|
2023-11-14 14:12:27 +01:00
|
|
|
'dbus-utils.md',
|
2023-11-14 15:11:13 +01:00
|
|
|
'error.md',
|
2023-10-23 14:12:02 +02:00
|
|
|
'file-attributes.md',
|
2023-11-15 12:21:07 +01:00
|
|
|
'io-scheduler.md',
|
2023-11-15 12:25:56 +01:00
|
|
|
'menu-exporter.md',
|
2023-10-10 00:20:38 +02:00
|
|
|
'migrating-gconf.md',
|
2023-10-10 00:22:20 +02:00
|
|
|
'migrating-gdbus.md',
|
2023-10-10 00:23:23 +02:00
|
|
|
'migrating-gnome-vfs.md',
|
2023-11-23 18:57:26 +01:00
|
|
|
'migrating-posix.md',
|
2023-11-15 12:34:00 +01:00
|
|
|
'networking.md',
|
2023-10-10 00:24:09 +02:00
|
|
|
'overview.md',
|
2023-11-15 12:38:15 +01:00
|
|
|
'pollable-utils.md',
|
2023-11-02 17:21:03 +01:00
|
|
|
'tls-overview.md',
|
2023-11-15 12:45:02 +01:00
|
|
|
'unix-mounts.md',
|
2023-10-10 00:04:21 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
gio_toml = configure_file(input: 'gio.toml.in', output: 'gio.toml', configuration: toml_conf)
|
|
|
|
|
|
|
|
custom_target('gio-docs',
|
2023-10-14 19:50:05 +02:00
|
|
|
input: [ gio_toml, gio_gir[0] ],
|
2023-10-10 00:04:21 +02:00
|
|
|
output: 'gio',
|
|
|
|
command: [
|
|
|
|
gidocgen,
|
|
|
|
'generate',
|
|
|
|
gidocgen_common_args,
|
|
|
|
'--config=@INPUT0@',
|
|
|
|
'--output-dir=@OUTPUT@',
|
|
|
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
2023-11-02 12:14:56 +01:00
|
|
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
|
|
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gmodule'),
|
|
|
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gio'),
|
2023-10-10 00:04:21 +02:00
|
|
|
'@INPUT1@',
|
|
|
|
],
|
|
|
|
build_by_default: true,
|
|
|
|
depend_files: expand_content_files,
|
|
|
|
)
|