diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2020-07-02 11:35:14 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2020-07-02 11:52:25 +0200 |
| commit | c6c4e39b012d544c1f1ed816686c8ae1599da793 (patch) | |
| tree | 094d5e07c1d135d0ee67d99e051fd6a9a367a6a4 /man/meson.build | |
| parent | 7368e45ff5b3b8b328d55408bcd403e4d6c564d0 (diff) | |
| parent | acd7b014c72673f5b0c0b91309e27028886da167 (diff) | |
Merge remote-tracking branch 'salsa/debian/master' into ubuntu/master
Diffstat (limited to 'man/meson.build')
| -rw-r--r-- | man/meson.build | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/man/meson.build b/man/meson.build index 407d027e..df6e7837 100644 --- a/man/meson.build +++ b/man/meson.build @@ -56,13 +56,51 @@ foreach man: mans endforeach if enable_introspection + + name = 'dbus' + nm_settings_docs_xml_dbus = custom_target( + 'nm-settings-docs-' + name + '.xml', + input: [nm_settings_docs_xml_gir, nm_property_infos_xml[name]], + output: 'nm-settings-docs-' + name + '.xml', + command: [ + python.path(), + join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-merge.py'), + '@OUTPUT@', + nm_property_infos_xml[name], + nm_settings_docs_xml_gir, + ], + ) + + name = 'nmcli' + nm_settings_docs_xml_nmcli = custom_target( + 'nm-settings-docs-' + name + '.xml', + input: [nm_settings_docs_xml_gir, nm_property_infos_xml[name]], + output: 'nm-settings-docs-' + name + '.xml', + command: [ + python.path(), + join_paths(meson.source_root(), 'tools', 'generate-docs-nm-settings-docs-merge.py'), + '--only-from-first', + '@OUTPUT@', + generate_docs_nm_settings_nmcli_xml, + nm_property_infos_xml[name], + nm_settings_docs_xml_gir, + ], + ) + + nm_settings_docs_xml = { + 'gir': nm_settings_docs_xml_gir, + 'dbus': nm_settings_docs_xml_dbus, + 'nmcli': nm_settings_docs_xml_nmcli, + } + mans = [ - ['nm-settings-keyfile', '5', nm_settings_keyfile_docs], - ['nm-settings', '5', nm_settings_docs], + ['nm-settings-keyfile', '5', nm_property_infos_xml['keyfile']], + ['nm-settings-dbus', '5', nm_settings_docs_xml['dbus']], + ['nm-settings-nmcli', '5', nm_settings_docs_xml['nmcli']], ] if enable_ifcfg_rh - mans += [['nm-settings-ifcfg-rh', '5', nm_settings_ifcfg_rh_docs]] + mans += [['nm-settings-ifcfg-rh', '5', nm_property_infos_xml['ifcfg-rh']]] endif foreach man: mans |