smbd: allow directory leases in close_directory()
[samba4-gss.git] / docs-xml / configure.ac
blobaaec457d817202fd8f6cae3339422802ac6ffb32
1 AC_INIT(xslt/latex.xsl)
3 LATEX_DOCUMENTCLASS_OPTIONS="letterpaper,11pt,openright,twoside"
4 AC_SUBST(LATEX_DOCUMENTCLASS_OPTIONS)
6 DOC_BUILD_DATE=`date '+%d-%m-%Y'`
7 AC_SUBST(DOC_BUILD_DATE)
9 DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
10 DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
12 DOCS_TARGET_REQUIRE_PROGRAM(PNGTOPNM, pngtopnm, PS)
13 DOCS_TARGET_REQUIRE_PROGRAM(PNMTOPS, pnmtops, PS)
14 DOCS_TARGET_REQUIRE_PROGRAM(DBLATEX, dblatex, LATEX)
15 DOCS_TARGET_REQUIRE_PROGRAM(XMLLINT, xmllint, VALIDATE)
17 AC_MSG_RESULT([])
18 AC_MSG_RESULT([Summary:])
19 AC_MSG_RESULT([--------------])
21 DOCS_DEFINE_TARGET(ALL, [], [base requirements], [])
22 DOCS_DEFINE_TARGET(LATEX, ALL, [LaTeX versions], [tex ps pdf])
23 DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html])
24 DOCS_DEFINE_TARGET(HTMLHELP, ALL, [HTML Help versions], [htmlhelp])
25 DOCS_DEFINE_TARGET(HTMLMAN, ALL, [HTML versions of the manpages], [htmlman])
26 DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages])
27 DOCS_DEFINE_TARGET(VALIDATE, ALL, [validating docbook output], [])
29 if test x"$TARGETS" = x; then 
30         AC_MSG_ERROR([You won't be able to build any of the docs])
31 else 
32         AC_MSG_RESULT([You will be able to build: $TARGETS])
35 AC_SUBST(TARGETS)
37 . ../VERSION
38 if test x"$DOC_VERSION" = x; then
39         #AC_MSG_ERROR([Please export DOC_VERSION variable])
40         VERSION_SUFFIX=""
41         if test x"$SAMBA_VERSION_PRE_RELEASE" != x; then
42                 VERSION_SUFFIX=pre
43         fi
44         DOC_VERSION=${SAMBA_VERSION_MAJOR}.${SAMBA_VERSION_MINOR}.${SAMBA_VERSION_RELEASE}${VERSION_SUFFIX}
45 else
46         AC_MSG_RESULT([DOC_VERSION: ${DOC_VERSION}])
49 doc_version="${DOC_VERSION}"
50 AC_SUBST(doc_version)
51 AC_OUTPUT( Makefile.settings build/catalog.xml build/DTD/samba.build.version)