dovecot-1.2: --without-docs: make install no longer installs any...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 16 03:56:16 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/5763caa55b57
changeset: 9436:5763caa55b57
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Oct 15 20:56:11 2009 -0400
description:
--without-docs: make install no longer installs any docs.

diffstat:

2 files changed, 16 insertions(+), 9 deletions(-)
doc/Makefile.am         |   18 +++++++++++-------
doc/wiki/Makefile.am.in |    7 +++++--

diffs (53 lines):

diff -r 0aa7357761a5 -r 5763caa55b57 doc/Makefile.am
--- a/doc/Makefile.am	Thu Oct 15 20:38:24 2009 -0400
+++ b/doc/Makefile.am	Thu Oct 15 20:56:11 2009 -0400
@@ -1,4 +1,14 @@ SUBDIRS = wiki
 SUBDIRS = wiki
+
+docfiles = \
+	auth-protocol.txt \
+	documentation.txt \
+	securecoding.txt \
+	thread-refs.txt
+
+if BUILD_DOCS
+doc_DATA = $(docfiles)
+endif
 
 confdir = $(sysconfdir)
 conf_DATA = \
@@ -7,16 +17,10 @@ conf_DATA = \
 	dovecot-ldap-example.conf \
 	dovecot-sql-example.conf
 
-doc_DATA = \
-	auth-protocol.txt \
-	documentation.txt \
-	securecoding.txt \
-	thread-refs.txt
-
 EXTRA_DIST = \
 	dovecot-initd.sh \
 	mkcert.sh \
 	dovecot-openssl.cnf \
 	solr-schema.xml \
-	$(doc_DATA) \
+	$(docfiles) \
 	$(conf_DATA)
diff -r 0aa7357761a5 -r 5763caa55b57 doc/wiki/Makefile.am.in
--- a/doc/wiki/Makefile.am.in	Thu Oct 15 20:38:24 2009 -0400
+++ b/doc/wiki/Makefile.am.in	Thu Oct 15 20:56:11 2009 -0400
@@ -1,6 +1,9 @@ wikidir = $(docdir)/wiki
+if BUILD_DOCS
 wikidir = $(docdir)/wiki
+wiki_DATA = $(wikifiles)
+endif
 
 EXTRA_DIST = \
-	$(wiki_DATA)
+	$(wikifiles)
 
-wiki_DATA = 
\ No newline at end of file
+wikifiles = \
\ No newline at end of file


More information about the dovecot-cvs mailing list