summaryrefslogtreecommitdiff
path: root/Documentation/automake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/automake.mk')
-rw-r--r--Documentation/automake.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/automake.mk b/Documentation/automake.mk
index 2202df45b..bc728dff3 100644
--- a/Documentation/automake.mk
+++ b/Documentation/automake.mk
@@ -110,7 +110,7 @@ DOC_SOURCE = \
Documentation/internals/contributing/libopenvswitch-abi.rst \
Documentation/internals/contributing/submitting-patches.rst \
Documentation/requirements.txt \
- $(addprefix Documentation/ref/,$(RST_MANPAGES))
+ $(addprefix Documentation/ref/,$(RST_MANPAGES) $(RST_MANPAGES_NOINST))
FLAKE8_PYFILES += Documentation/conf.py
EXTRA_DIST += $(DOC_SOURCE)
@@ -158,8 +158,12 @@ RST_MANPAGES = \
ovs-vlan-test.8.rst \
ovsdb-server.7.rst \
ovsdb.5.rst \
- ovsdb.7.rst \
- ovs-sim.1.rst
+ ovsdb.7.rst
+
+# rST formatted manpages that we don't want to install because they
+# document stuff that only works with a build tree, not with an
+# installed OVS.
+RST_MANPAGES_NOINST = ovs-sim.1.rst
# The GNU standards say that these variables should control
# installation directories for manpages in each section. Automake
@@ -202,7 +206,7 @@ INSTALL_DATA_LOCAL += install-man-rst
if HAVE_SPHINX
install-man-rst: docs-check
@$(set_mandirs); \
- for rst in $(RST_MANPAGES); do \
+ for rst in $(RST_MANPAGES) $(EXTRA_RST_MANPAGES); do \
$(extract_stem_and_section); \
echo " $(MKDIR_P) '$(DESTDIR)'\"$$mandir\""; \
$(MKDIR_P) '$(DESTDIR)'"$$mandir"; \