Setting XSLTPROC_COMPILE, MAN_COMPILE, HTML_COMPILE, TKL_COMPILE
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 28 May 2006 19:12:34 +0000 (19:12 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 28 May 2006 19:12:34 +0000 (19:12 +0000)
for doc Makefile(s) to use.

yaz.m4

diff --git a/yaz.m4 b/yaz.m4
index 4d33b29..38117ce 100644 (file)
--- a/yaz.m4
+++ b/yaz.m4
@@ -4,6 +4,15 @@
 dnl ----- Setup Docbook documentation for YAZ
 AC_DEFUN([YAZ_DOC],
 [
+AC_SUBST(XSLTPROC_COMPILE)
+XSLTPROC_COMPILE='xsltproc -path ".:$(srcdir)"'
+AC_SUBST(MAN_COMPILE)
+MAN_COMPILE='$(XSLTPROC_COMPILE) common/man.xsl'
+AC_SUBST(HTML_COMPILE)
+HTML_COMPILE='$(XSLTPROC_COMPILE) common/html.xsl'
+AC_SUBST(TKL_COMPILE)
+TKL_COMPILE='$(XSLTPROC_COMPILE) common/tkl.xsl'
+
 AC_SUBST(DTD_DIR)      
 AC_ARG_WITH(docbook-dtd,[[  --with-docbook-dtd=DIR  use docbookx.dtd in DIR]],
 [