diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-01-05 13:38:03 +1000 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2011-01-05 10:39:25 +0100 |
| commit | 6fc005d5e1120b376ec02b7f4a6c1554835749b2 (patch) | |
| tree | 4dbc656fb127dff1840a95fb1e0973a5206e47cc /configure.ac | |
| parent | 8a4c03414863cb58ca58b18fe590defe172c0ca3 (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.ac | 11 |
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 | |||
| 22 | AC_PROG_CC | 22 | AC_PROG_CC |
| 23 | AC_PROG_INSTALL | 23 | AC_PROG_INSTALL |
| 24 | 24 | ||
| 25 | # man page generation | ||
| 26 | AC_ARG_VAR([XMLTO], [Path to xmlto command]) | ||
| 27 | AC_PATH_PROG([XMLTO], [xmlto]) | ||
| 28 | AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command]) | ||
| 29 | AC_PATH_PROG([ASCIIDOC], [asciidoc]) | ||
| 30 | AM_CONDITIONAL([HAVE_DOCTOOLS], [test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"]) | ||
| 31 | if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then | ||
| 32 | AC_MSG_WARN([xmlto or asciidoc not found - cannot create man pages without it]) | ||
| 33 | fi | ||
| 34 | |||
| 35 | |||
| 25 | AC_CONFIG_FILES([Makefile | 36 | AC_CONFIG_FILES([Makefile |
| 26 | src/Makefile | 37 | src/Makefile |
| 27 | tools/Makefile | 38 | tools/Makefile |
