Skip to content
Snippets Groups Projects
Commit 1f8e87b4 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

Added --with-docs configure option.

parent 35729065
No related branches found
No related tags found
No related merge requests found
SUBDIRS = src doc
if BUILD_DOCS
DOCS = doc
endif
SUBDIRS = src $(DOCS)
ACLOCAL_AMFLAGS = -I m4 --install
......
......@@ -21,10 +21,19 @@ AC_PROG_CC
AC_PROG_CPP
AC_PROG_LIBTOOL
# Couple with Dovecot
#
DC_DOVECOT
LIBDOVECOT_INCLUDE="$LIBDOVECOT_INCLUDE $LIBDOVECOT_STORAGE_INCLUDE"
AC_SUBST(LIBDOVECOT_INCLUDE)
# Defome Sieve documentation install dir
#
sieve_docdir='${dovecot_docdir}/sieve'
AC_SUBST(sieve_docdir)
# Extensions under development
#
......@@ -57,6 +66,16 @@ AC_ARG_ENABLE(header-install,
want_headers=no)
AM_CONDITIONAL(INSTALL_HEADERS, test "$want_headers" = "yes")
AC_ARG_WITH(docs,
[ --with-docs Install documentation (default)],
if test x$withval = xno; then
want_docs=no
else
want_docs=yes
fi,
want_docs=yes)
AM_CONDITIONAL(BUILD_DOCS, test "$want_docs" = "yes")
AC_ARG_ENABLE(valgrind,
[AC_HELP_STRING([--enable-valgrind], [Enable Valgrind memory leak checks in testsuite [default=no]])],
if test x$enableval = xno || test x$enableval = xauto; then
......
SUBDIRS = man example-config
docfiles = spamtest-virustest.txt
if BUILD_DOCS
sieve_doc_DATA = $(docfiles)
endif
EXTRA_DIST = \
rfc \
devel \
spamtest-virustest.txt
$(docfiles)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.