From c952bcae8feda72376ee76778737b51881ea63bd Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 27 Aug 2022 08:49:28 +0200 Subject: htmldoc: if missing, use dist-tools/htmldoc wrapper fallback --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 36294d89..ae16c11c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -214,7 +214,7 @@ FAQ: fetchmail-FAQ.html $(srcdir)/dist-tools/html2txt fetchmail-FAQ.pdf: fetchmail-FAQ.html fetchmail-FAQ.book bighand.png $(AWK) '/^[ \t]*

3) print $0;}' <$(srcdir)/fetchmail-FAQ.html >fetchmail-FAQ-print.html - htmldoc --logoimage $(srcdir)/bighand.png --batch $(srcdir)/fetchmail-FAQ.book + $(HTMLDOC) --logoimage $(srcdir)/bighand.png --batch $(srcdir)/fetchmail-FAQ.book rm -f fetchmail-FAQ-print.html FEATURES: fetchmail-features.html $(srcdir)/dist-tools/html2txt diff --git a/configure.ac b/configure.ac index 200d4488..cd1cefe2 100644 --- a/configure.ac +++ b/configure.ac @@ -45,6 +45,7 @@ AM_PROG_CC_C_O PKG_PROG_PKG_CONFIG AC_CHECK_PROGS([RST2HTML], [rst2html5.py rst2html5], [false]) +AC_CHECK_PROGS([HTMLDOC], [htmldoc], [${srcdir}/dist-tools/htmldoc]) AC_LIB_RPATH -- cgit v1.2.3