aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
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]*<h1/ {sec++; } {if (sec < 2 || sec > 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