2005-06-13 14:23:53 +04:00
AC_INIT(xslt/latex.xsl)
2004-04-07 14:15:11 +04:00
2005-06-13 18:56:25 +04:00
LATEX_DOCUMENTCLASS_OPTIONS="letterpaper,11pt,openright,twoside"
AC_SUBST(LATEX_DOCUMENTCLASS_OPTIONS)
2004-04-07 14:15:11 +04:00
DOC_BUILD_DATE=`date '+%d-%m-%Y'`
AC_SUBST(DOC_BUILD_DATE)
2004-04-23 18:23:36 +04:00
DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
2004-09-05 17:26:10 +04:00
2004-04-23 18:23:36 +04:00
DOCS_TARGET_REQUIRE_PROGRAM(PNGTOPNM, pngtopnm, PS)
DOCS_TARGET_REQUIRE_PROGRAM(PNMTOPS, pnmtops, PS)
2009-05-01 16:14:30 +04:00
DOCS_TARGET_REQUIRE_PROGRAM(DBLATEX, dblatex, LATEX)
2005-03-17 03:13:11 +03:00
DOCS_TARGET_REQUIRE_PROGRAM(XMLLINT, xmllint, VALIDATE)
2004-04-23 18:23:36 +04:00
AC_MSG_RESULT([])
AC_MSG_RESULT([Summary:])
AC_MSG_RESULT([--------------])
DOCS_DEFINE_TARGET(ALL, [], [base requirements], [])
2009-05-01 20:32:21 +04:00
DOCS_DEFINE_TARGET(LATEX, ALL, [LaTeX versions], [tex ps pdf])
2004-04-23 18:23:36 +04:00
DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html])
2004-06-15 01:25:16 +04:00
DOCS_DEFINE_TARGET(HTMLHELP, ALL, [HTML Help versions], [htmlhelp])
2012-09-10 14:28:19 +04:00
DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman])
2012-09-10 02:32:20 +04:00
DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages])
2005-03-17 03:13:11 +03:00
DOCS_DEFINE_TARGET(VALIDATE, ALL, [validating docbook output], [])
2004-04-23 18:23:36 +04:00
if test x"$TARGETS" = x; then
AC_MSG_ERROR([You won't be able to build any of the docs])
else
AC_MSG_RESULT([You will be able to build: $TARGETS])
fi
AC_SUBST(TARGETS)
2018-01-04 12:38:05 +03:00
. ../VERSION
2017-12-12 13:01:51 +03:00
if test x"$DOC_VERSION" = x; then
2018-01-04 12:38:05 +03:00
#AC_MSG_ERROR([Please export DOC_VERSION variable])
VERSION_SUFFIX=""
2018-01-04 14:55:26 +03:00
if test x"$SAMBA_VERSION_PRE_RELEASE" != x; then
2018-01-04 12:38:05 +03:00
VERSION_SUFFIX=pre
fi
DOC_VERSION=${SAMBA_VERSION_MAJOR}.${SAMBA_VERSION_MINOR}.${SAMBA_VERSION_RELEASE}${VERSION_SUFFIX}
2017-12-12 13:01:51 +03:00
else
AC_MSG_RESULT([DOC_VERSION: ${DOC_VERSION}])
fi
doc_version="${DOC_VERSION}"
AC_SUBST(doc_version)
AC_OUTPUT( Makefile.settings build/catalog.xml build/DTD/samba.build.version)