diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-09-14 18:14:46 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2018-09-19 16:03:32 +0200 |
commit | f7394b73341a9037022fc0fc5185cff4d7bc6ca3 (patch) | |
tree | 268403c62eb1e157f4f18f5181ec85e24918d6a4 /docs | |
parent | 1ed860b1a3b9a285af7ef5061e7764be7fa43c67 (diff) |
docs: include openvswitch(7) man page only when ovs is enabled
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api/Makefile.am | 6 | ||||
-rw-r--r-- | docs/api/network-manager-docs.xml | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am index 1f388b99e..2baf40562 100644 --- a/docs/api/Makefile.am +++ b/docs/api/Makefile.am @@ -89,11 +89,15 @@ content_files = \ $(top_builddir)/man/nmcli-examples.xml \ $(top_builddir)/man/nm-settings.xml \ $(top_builddir)/man/nm-settings-keyfile.xml \ - $(top_builddir)/man/nm-openvswitch.xml \ version.xml \ ../../COPYING \ $(NULL) + +if WITH_OPENVSWITCH +content_files += $(top_builddir)/man/nm-openvswitch.xml +endif + if CONFIG_PLUGIN_IFCFG_RH content_files += $(top_builddir)/man/nm-settings-ifcfg-rh.xml endif diff --git a/docs/api/network-manager-docs.xml b/docs/api/network-manager-docs.xml index 457ec0ac2..ec2712474 100644 --- a/docs/api/network-manager-docs.xml +++ b/docs/api/network-manager-docs.xml @@ -78,7 +78,7 @@ <xi:include href="../../man/nm-settings-ifcfg-rh.xml"><xi:fallback /></xi:include> <xi:include href="../../man/nm-online.xml"/> <xi:include href="../../man/nm-initrd-generator.xml"/> - <xi:include href="../../man/nm-openvswitch.xml"/> + <xi:include href="../../man/nm-openvswitch.xml"><xi:fallback /></xi:include> </part> <part id="ref-settings"> |