From: David Sommerseth Date: Thu, 29 Oct 2020 21:32:59 +0000 (+0100) Subject: build: Fix missing install of man page in certain environments X-Git-Tag: v2.5.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbac1542cfb4a9d3033999b26813f0dd0618c3f0;p=thirdparty%2Fopenvpn.git 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 Tested-By: Philip Brown Signed-off-by: David Sommerseth Acked-by: Gert Doering 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 (cherry picked from commit fc25ca3a7cf720fbb53889fdba6ac0154c7c9c1a) --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 340dd5538..df2f54a39 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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