From 6fc005d5e1120b376ec02b7f4a6c1554835749b2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 5 Jan 2011 13:38:03 +1000 Subject: Add man-pages for the various evemu-tools. Using asciidoc and xmlto, conditional on their availability at configure time. Signed-off-by: Peter Hutterer Signed-off-by: Henrik Rydberg --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1105932..f5b8980 100644 --- a/configure.ac +++ b/configure.ac @@ -22,6 +22,17 @@ AC_PROG_LIBTOOL AC_PROG_CC AC_PROG_INSTALL +# man page generation +AC_ARG_VAR([XMLTO], [Path to xmlto command]) +AC_PATH_PROG([XMLTO], [xmlto]) +AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command]) +AC_PATH_PROG([ASCIIDOC], [asciidoc]) +AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"]) +if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then + AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it]) +fi + + AC_CONFIG_FILES([Makefile src/Makefile tools/Makefile -- cgit v1.2.3