]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
build: Fix missing install of man page in certain environments
authorDavid Sommerseth <davids@openvpn.net>
Thu, 29 Oct 2020 21:32:59 +0000 (22:32 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 24 Nov 2020 18:29:56 +0000 (19:29 +0100)
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>
doc/Makefile.am

index 340dd55385557583fbd9e9cb274c12977159fdec..df2f54a39f6457f69045bf60d3740aaa322c21ff 100644 (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