Docbook to man script wrapper.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 May 2006 19:08:45 +0000 (19:08 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 23 May 2006 19:08:45 +0000 (19:08 +0000)
yaz.m4

diff --git a/yaz.m4 b/yaz.m4
index 96c7a36..a15d78e 100644 (file)
--- a/yaz.m4
+++ b/yaz.m4
@@ -4,6 +4,8 @@
 dnl ----- Setup Docbook documentation for YAZ
 AC_DEFUN([YAZ_DOC],
 [
+AC_CHECK_PROGS(DB2MAN_PROG,docbook2man docbook-to-man,None)
+DB2MAN_PROG="\$(srcdir)/common/${DB2MAN_PROG}.sh"
 AC_SUBST(DTD_DIR)      
 AC_ARG_WITH(docbook-dtd,[[  --with-docbook-dtd=DIR  use docbookx.dtd in DIR]],
 [