2018-01-09 08:05:15 +01:00
|
|
|
doc_module = libnm_name
|
2017-11-25 11:39:06 +01:00
|
|
|
|
|
|
|
|
private_headers = [
|
|
|
|
|
'common.h',
|
2018-08-29 18:58:14 +02:00
|
|
|
'nm-crypto.h',
|
2018-08-29 20:46:17 +02:00
|
|
|
'nm-crypto-impl.h',
|
2017-11-25 11:39:06 +01:00
|
|
|
'nm-dbus-helpers.h',
|
|
|
|
|
'nm-core-internal.h',
|
|
|
|
|
'nm-core-types-internal.h',
|
|
|
|
|
'nm-device-private.h',
|
|
|
|
|
'nm-dhcp4-config.h',
|
|
|
|
|
'nm-dhcp6-config.h',
|
|
|
|
|
'nm-dns-manager.h',
|
|
|
|
|
'nm-ip4-config.h',
|
|
|
|
|
'nm-ip6-config.h',
|
|
|
|
|
'nm-manager.h',
|
|
|
|
|
'nm-object-private.h',
|
|
|
|
|
'nm-property-compare.h',
|
|
|
|
|
'nm-remote-connection-private.h',
|
|
|
|
|
'nm-remote-settings.h',
|
|
|
|
|
'nm-setting-private.h',
|
|
|
|
|
'nm-utils-private.h',
|
|
|
|
|
'nm-core-tests-enum-types.h',
|
|
|
|
|
'nm-keyfile-internal.h',
|
|
|
|
|
'nm-keyfile-utils.h',
|
2018-10-18 12:50:20 +02:00
|
|
|
'test-general-enums.h',
|
2017-11-25 11:39:06 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
configure_file(
|
|
|
|
|
input: version_xml + '.in',
|
|
|
|
|
output: version_xml,
|
2018-10-18 12:50:20 +02:00
|
|
|
configuration: version_conf,
|
2017-11-25 11:39:06 +01:00
|
|
|
)
|
|
|
|
|
|
2019-09-03 15:11:16 +02:00
|
|
|
result = run_command(join_paths(meson.source_root(), 'tools', 'decorators.sh'),
|
|
|
|
|
join_paths(meson.source_root(), 'libnm-core', 'nm-version.h'))
|
|
|
|
|
|
2017-11-25 11:39:06 +01:00
|
|
|
gnome.gtkdoc(
|
|
|
|
|
doc_module,
|
|
|
|
|
main_xml: doc_module + '-docs.xml',
|
|
|
|
|
src_dir: [
|
|
|
|
|
libnm_core_inc,
|
2018-10-18 12:50:20 +02:00
|
|
|
libnm_inc,
|
2017-11-25 11:39:06 +01:00
|
|
|
],
|
|
|
|
|
dependencies: libnm_dep,
|
|
|
|
|
scan_args: [
|
|
|
|
|
'--rebuild-types',
|
|
|
|
|
'--rebuild-sections',
|
2019-09-03 15:11:16 +02:00
|
|
|
'--ignore-decorators=' + result.stdout().strip(),
|
2018-10-18 12:50:20 +02:00
|
|
|
'--ignore-headers=' + ' '.join(private_headers),
|
2017-11-25 11:39:06 +01:00
|
|
|
],
|
|
|
|
|
scanobjs_args: '--type-init-func="g_type_init();"',
|
2017-12-24 14:52:01 +01:00
|
|
|
fixxref_args: '--html-dir=' + join_paths(nm_prefix, gnome.gtkdoc_html_dir(doc_module)),
|
2017-11-25 11:39:06 +01:00
|
|
|
gobject_typesfile: doc_module + '.types',
|
|
|
|
|
html_assets: doc_module + '.png',
|
2018-10-18 12:50:20 +02:00
|
|
|
install: true,
|
2017-11-25 11:39:06 +01:00
|
|
|
)
|