summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-12-01 18:21:32 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-12-01 18:21:32 +0000
commitb5288e8215c6eacf0782880f6c5b6dea8f445a34 (patch)
treedd96edf558474c05a88f08dfd9ceb47b1cb3e772
parent2c2bce01ed5ed1d1684bd76a334477398009ef4a (diff)
downloadgstreamer-common-b5288e8215c6eacf0782880f6c5b6dea8f445a34.tar.gz
changed doc build again to use docbook2 tools.
Original commit message from CVS: changed doc build again to use docbook2 tools. *please* stop quickfixing the docs build, I'm tired of tracking and properly fixing the build at the whim of each developer :)
-rw-r--r--m4/gst-doc.m49
1 files changed, 6 insertions, 3 deletions
diff --git a/m4/gst-doc.m4 b/m4/gst-doc.m4
index 2f0e67f..44ee079 100644
--- a/m4/gst-doc.m4
+++ b/m4/gst-doc.m4
@@ -36,7 +36,9 @@ AC_SUBST(HAVE_GTK_DOC)
AC_SUBST(GTK_DOC_SCANOBJ)
dnl check for docbook tools
-AC_CHECK_PROG(HAVE_XMLTO, xmlto, true, false)
+AC_CHECK_PROG(HAVE_DOCBOOK2PS, docbook2ps, true, false)
+AC_CHECK_PROG(HAVE_DOCBOOK2HTML, docbook2html, true, false)
+AC_CHECK_PROG(HAVE_JADETEX, jadetex, true, false)
AC_CHECK_PROG(HAVE_PS2PDF, ps2pdf, true, false)
dnl check for image conversion tools
@@ -74,7 +76,7 @@ AC_CHECK_PROG(HAVE_PNMTOPS, pnmtops, true, false)
AC_CHECK_PROG(HAVE_EPSTOPDF, epstopdf, true, false)
dnl check if we can generate HTML
-if test "x$HAVE_XMLTO" = "xtrue" && \
+if test "x$HAVE_DOCBOOK2HTML" = "xtrue" && \
test "x$HAVE_FIG2DEV_PNG" = "xtrue"; then
DOC_HTML=true
AC_MSG_NOTICE(Will output HTML documentation)
@@ -84,7 +86,8 @@ else
fi
dnl check if we can generate PS
-if test "x$HAVE_XMLTO" = "xtrue" && \
+if test "x$HAVE_DOCBOOK2PS" = "xtrue" && \
+ test "x$HAVE_JADETEX" = "xtrue" && \
test "x$HAVE_FIG2DEV_EPS" = "xtrue" && \
test "x$HAVE_PNGTOPNM" = "xtrue" && \
test "x$HAVE_PNMTOPS" = "xtrue"; then