Files
NetworkManager/docs/libnm-glib/meson.build
Iñigo Martínez 03637ad8b5 build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which
helps speeding up the software development. This patch adds meson
support along autotools.

[thaller@redhat.com: rebased patch and adjusted for iwd support]

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
2017-12-13 15:48:50 +01:00

43 lines
981 B
Meson

doc_module = 'libnm-glib'
private_headers = [
'common.h',
'nm-dbus-helpers-private.h',
'nm-device-private.h',
'nm-object-cache.h',
'nm-object-private.h',
'nm-remote-connection-private.h',
'nm-types-private.h',
'nm-secret-agent-glue.h',
'nm-vpn-plugin-glue.h'
]
configure_file(
input: version_xml + '.in',
output: version_xml,
configuration: version_conf
)
doc_path = join_paths(nm_datadir, 'gtk-doc', 'html', doc_module)
gnome.gtkdoc(
doc_module,
main_xml: doc_module + '-docs.xml',
src_dir: join_paths(meson.source_root(), 'libnm-glib'),
dependencies: [
libnm_glib_dep,
libnm_glib_vpn_dep
],
scan_args: [
'--rebuild-types',
'--rebuild-sections',
'--ignore-headers=' + ' '.join(private_headers),
],
scanobjs_args: '--type-init-func="g_type_init();"',
fixxref_args: '--html-dir=' + doc_path,
gobject_typesfile: doc_module + '.types',
html_assets: doc_module + '.png',
install: true,
install_dir: doc_path
)