doc: process protocol.xml with xmlto

Generate and install protocol.html if xmlto is available.
This commit is contained in:
Max Kellermann
2008-11-20 08:59:55 +01:00
parent a3d0e571cc
commit 90bfe65e54
2 changed files with 29 additions and 1 deletions

View File

@@ -852,6 +852,22 @@ fi
AM_CONDITIONAL(HAVE_ZEROCONF, test x$with_zeroconf != xno)
dnl
dnl Documentation
dnl
AC_MSG_CHECKING([for xmlto (DocBook processing)])
AC_PATH_PROG(XMLTO, xmlto)
if test x$XMLTO != x; then
AC_SUBST(XMLTO)
AC_MSG_RESULT($XMLTO)
else
AC_MSG_RESULT(no)
fi
AM_CONDITIONAL(HAVE_XMLTO, test x$XMLTO != x)
dnl
dnl build options
dnl