Commit 17453016 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

Merge branch 'trac3067'

parents 35a7432f cbdbafbe
...@@ -1132,6 +1132,11 @@ if test "x$enable_generate_docs" != xno ; then ...@@ -1132,6 +1132,11 @@ if test "x$enable_generate_docs" != xno ; then
fi fi
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
fi 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 fi
......
...@@ -21,10 +21,8 @@ bind10-guide.html: bind10-guide.xml ...@@ -21,10 +21,8 @@ bind10-guide.html: bind10-guide.xml
http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \
$(srcdir)/bind10-guide.xml $(srcdir)/bind10-guide.xml
HTML2TXT = elinks -dump -no-numbering -no-references
bind10-guide.txt: bind10-guide.html 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 bind10-messages.html: bind10-messages.xml
@XSLTPROC@ --novalid --xinclude --nonet \ @XSLTPROC@ --novalid --xinclude --nonet \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment