mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 06:50:07 +01:00
We have the correct meta-data of supported properties for nmcli. It is in clients/common. Use that for generating the manual page instead of the properties that are part of libnm (some properties may be in libnm but not supported by nmcli, or some properties may not be GObject properties, and not detected as by GObject introspection).
58 lines
1.3 KiB
Meson
58 lines
1.3 KiB
Meson
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
if enable_nmcli
|
|
|
|
# FIXME: nmcli-completion should be renamed to nmcli
|
|
install_data(
|
|
'nmcli-completion',
|
|
install_dir: join_paths(nm_datadir, 'bash-completion', 'completions'),
|
|
)
|
|
|
|
executable(
|
|
'nmcli',
|
|
files(
|
|
'agent.c',
|
|
'common.c',
|
|
'connections.c',
|
|
'devices.c',
|
|
'general.c',
|
|
'nmcli.c',
|
|
'polkit-agent.c',
|
|
'settings.c',
|
|
'utils.c',
|
|
),
|
|
dependencies: [
|
|
libnmc_base_dep,
|
|
libnmc_dep,
|
|
readline_dep,
|
|
libnm_libnm_aux_dep,
|
|
],
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format('nmcli')],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
install: true,
|
|
)
|
|
|
|
endif
|
|
|
|
generate_docs_nm_settings_nmcli = executable(
|
|
'generate-docs-nm-settings-nmcli',
|
|
files(
|
|
'generate-docs-nm-settings-nmcli.c',
|
|
),
|
|
dependencies: [
|
|
libnmc_base_dep,
|
|
libnmc_dep,
|
|
libnm_libnm_aux_dep,
|
|
],
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format('nmcli')],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
)
|
|
|
|
generate_docs_nm_settings_nmcli_xml = custom_target(
|
|
'generate-docs-nm-settings-nmcli.xml',
|
|
output: 'generate-docs-nm-settings-nmcli.xml',
|
|
command: [ generate_docs_nm_settings_nmcli ],
|
|
capture: true,
|
|
)
|