From: Adam Dickmeiss Date: Sun, 28 May 2006 19:12:34 +0000 (+0000) Subject: Setting XSLTPROC_COMPILE, MAN_COMPILE, HTML_COMPILE, TKL_COMPILE X-Git-Tag: YAZ.2.1.22~1 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=0b308a8470d41dcf1ac63ffb558675b0ae088eb2;p=m4-moved-to-github.git Setting XSLTPROC_COMPILE, MAN_COMPILE, HTML_COMPILE, TKL_COMPILE for doc Makefile(s) to use. --- diff --git a/yaz.m4 b/yaz.m4 index 4d33b29..38117ce 100644 --- 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]], [