Skip to content

Commit 933f2c1

Browse files
committed
configure.ac: note more visibly that we can fall back to dist-tarball pre-built pages when we have only them and want something installed [networkupstools#3314]
NOTE: want_disted_doc_man=yes is set lower in code, hopefully we do reach that part; else have inputs for troubleshooting the recipes. Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent dea9c11 commit 933f2c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configure.ac

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4129,6 +4129,11 @@ dnl not fail if we have no tools to generate it (so add to SKIP list).
41294129
( cd "$DOCTESTDIR" && ${A2X} --format manpage --destination-dir=. --xsltproc-opts="--nonet" "${abs_srcdir}"/docs/man/snmp-ups.txt && test -s snmp-ups.8 ) && can_build_doc_man=yes
41304130
rm -f "${DOCTESTDIR}"/snmp-ups.8
41314131
fi
4132+
if test x"${can_build_doc_man}" != xyes && test x"${have_disted_doc_man}" = xyes && test x"${nut_doc_build_target_flag}" != xno ; then
4133+
dnl https://github.com/networkupstools/nut/issue/3314
4134+
AC_MSG_NOTICE([Seems we can not build man pages, but have some pre-built ones...])
4135+
dnl want_disted_doc_man=yes
4136+
fi
41324137
can_install_doc_man=no
41334138
if test "${want_disted_doc_man}" = yes && ( test "${have_disted_doc_man}" = yes || test "${have_disted_doc_man}" = yes-placeholder ) ; then
41344139
AC_MSG_NOTICE([Requested, and can, install pre-built distributed copies of ${nut_doc_build_target_base} documentation])

0 commit comments

Comments
 (0)