fi
AC_MSG_RESULT(yes)
fi
+
+ AC_PATH_PROG([ELINKS], [elinks])
+ if test -z "$ELINKS"; then
+ AC_MSG_ERROR("elinks not found; it is required for --enable-generate-docs")
+ fi
fi
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
$(srcdir)/bind10-guide.xml
-HTML2TXT = elinks -dump -no-numbering -no-references
-
bind10-guide.txt: bind10-guide.html
- $(HTML2TXT) bind10-guide.html > $@
+ @ELINKS@ -dump -no-numbering -no-references bind10-guide.html > $@
bind10-messages.html: bind10-messages.xml
@XSLTPROC@ --novalid --xinclude --nonet \