summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-09-14 18:14:46 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-09-19 16:03:32 +0200
commit6da369252a7b76cbbe38254ee9dd55cfc66723bd (patch)
tree268403c62eb1e157f4f18f5181ec85e24918d6a4 /docs/api
parentc06a6aec1a969dcb5ec2e2ce8ecfe270cfdedeba (diff)
downloadNetworkManager-6da369252a7b76cbbe38254ee9dd55cfc66723bd.tar.gz
docs: include openvswitch(7) man page only when ovs is enabled
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/Makefile.am6
-rw-r--r--docs/api/network-manager-docs.xml2
2 files changed, 6 insertions, 2 deletions
diff --git a/docs/api/Makefile.am b/docs/api/Makefile.am
index 1f388b99ec..2baf40562f 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 457ec0ac29..ec2712474b 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">