X-Git-Url: http://git.indexdata.com/?p=m4-moved-to-github.git;a=blobdiff_plain;f=yaz.m4;h=eebfa70f37f8beb5cb37bc2e7402db7562694232;hp=4d33b2937b5d19b7ebf173e775866e33755c3fc0;hb=0b7662be4e6c57b66352317ab7f097117888993a;hpb=0e9142b4b55afd2269923f89a0dd9c4f7d171bed diff --git a/yaz.m4 b/yaz.m4 index 4d33b29..eebfa70 100644 --- a/yaz.m4 +++ b/yaz.m4 @@ -4,6 +4,20 @@ dnl ----- Setup Docbook documentation for YAZ AC_DEFUN([YAZ_DOC], [ +dnl autoconf < 2.60 does not define docdir +if test -n "$docdir"; then + docdir="${datadir}/doc/${PACKAGE}" + AC_SUBST([docdir]) +fi +AC_SUBST(XSLTPROC_COMPILE) +XSLTPROC_COMPILE='xsltproc -path ".:$(srcdir)"' +AC_SUBST(MAN_COMPILE) +MAN_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.man.xsl' +AC_SUBST(HTML_COMPILE) +HTML_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.htmlhelp.xsl' +AC_SUBST(TKL_COMPILE) +TKL_COMPILE='$(XSLTPROC_COMPILE) $(srcdir)/common/id.tkl.xsl' + AC_SUBST(DTD_DIR) AC_ARG_WITH(docbook-dtd,[[ --with-docbook-dtd=DIR use docbookx.dtd in DIR]], [