0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-19 19:42:30 +02:00

build: Fix missing install of man page in certain environments

It turns out the logic for dist_man_MANS was incorrectly put inside the
HAVE_PYDOCUTILS block.  This results in the man page being installed
only if python-docutils is installed and available.

The solution is simple, move the dist_man_MANS part outside the
python-docutils block.  The openvpn.8 file is prebuilt in source
tarballs and will thus be available.

Reported-By: Philip Brown <philip@pbdigital.org>
Tested-By: Philip Brown <philip@pbdigital.org>
Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20201029213259.1636-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg21236.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
David Sommerseth 2020-10-29 22:32:59 +01:00 committed by Gert Doering
parent 0d4069e41d
commit fc25ca3a7c

View File

@ -67,10 +67,11 @@ dist_html_DATA = openvpn.8.html
CLEANFILES = \
openvpn.8 openvpn.8.html
endif
if WIN32
else
dist_man_MANS = openvpn.8
endif
endif
dist-hook : openvpn.8 openvpn.8.html