diff doc/Makefile.am @ 9436:5763caa55b57 HEAD

--without-docs: make install no longer installs any docs.
author Timo Sirainen <tss@iki.fi>
date Thu, 15 Oct 2009 20:56:11 -0400
parents 354c1b47cfec
children
line wrap: on
line diff
--- 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,5 +1,15 @@
 SUBDIRS = wiki
 
+docfiles = \
+	auth-protocol.txt \
+	documentation.txt \
+	securecoding.txt \
+	thread-refs.txt
+
+if BUILD_DOCS
+doc_DATA = $(docfiles)
+endif
+
 confdir = $(sysconfdir)
 conf_DATA = \
 	dovecot-db-example.conf \
@@ -7,16 +17,10 @@
 	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)