summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-05 13:38:03 +1000
committerHenrik Rydberg <rydberg@euromail.se>2011-01-05 10:39:25 +0100
commit6fc005d5e1120b376ec02b7f4a6c1554835749b2 (patch)
tree4dbc656fb127dff1840a95fb1e0973a5206e47cc /configure.ac
parent8a4c03414863cb58ca58b18fe590defe172c0ca3 (diff)
Add man-pages for the various evemu-tools.
Using asciidoc and xmlto, conditional on their availability at configure time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
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
22AC_PROG_CC 22AC_PROG_CC
23AC_PROG_INSTALL 23AC_PROG_INSTALL
24 24
25# man page generation
26AC_ARG_VAR([XMLTO], [Path to xmlto command])
27AC_PATH_PROG([XMLTO], [xmlto])
28AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
29AC_PATH_PROG([ASCIIDOC], [asciidoc])
30AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"])
31if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then
32 AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it])
33fi
34
35
25AC_CONFIG_FILES([Makefile 36AC_CONFIG_FILES([Makefile
26 src/Makefile 37 src/Makefile
27 tools/Makefile 38 tools/Makefile