diff options
author | Ben Pfaff <blp@ovn.org> | 2018-06-14 13:43:55 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-06-18 15:24:29 -0700 |
commit | 16ee87263e31dc6520937a0dcefd676f3582d8ee (patch) | |
tree | bce85f5491b46f1420c88cc20f701f51a9b155a2 /utilities | |
parent | 174b053510a941cfe2a26086d12cafec23664153 (diff) | |
download | openvswitch-16ee87263e31dc6520937a0dcefd676f3582d8ee.tar.gz |
ovs-sim: Don't install manpage at all (except from ovs-sim itself).
ovs-sim is a funny utility since it only works from a build tree, not from
an installed OVS. That means that we shouldn't install its manpage when
we run "make install". But we do want to install the manpage when we're
inside ovs-sim itself, so that the user can invoke "man ovs-sim" from its
nested shell.
This commit makes this happen.
Suggested-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Roi Dayan <roid@mellanox.com>
Diffstat (limited to 'utilities')
-rwxr-xr-x | utilities/ovs-sim.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-sim.in b/utilities/ovs-sim.in index 72436c089..47329da21 100755 --- a/utilities/ovs-sim.in +++ b/utilities/ovs-sim.in @@ -466,7 +466,7 @@ export -f ovn_attach # Easy access to OVS manpages. mkdir $sim_base/man mandir=`cd $sim_base/man && pwd` -(cd "$sim_builddir" && ${MAKE-make} install-man install-man-rst mandir=$mandir >/dev/null) +(cd "$sim_builddir" && ${MAKE-make} install-man install-man-rst mandir=$mandir EXTRA_RST_MANPAGES=ovs-sim.1.rst >/dev/null) MANPATH=$mandir:; export MANPATH export scripts |