diff Makefile.am @ 3779:e87a8db60d25 HEAD

Added --with-docs parameter to specify if documentation should be installed. Wanted for at least FreeBSD's NOPORTDOCS option. Patch by Robin Breathe
author Timo Sirainen <tss@iki.fi>
date Fri, 30 Dec 2005 22:17:27 +0200
parents f3e7ce34721f
children b033db13c2e0
line wrap: on
line diff
--- a/Makefile.am	Fri Dec 30 22:06:10 2005 +0200
+++ b/Makefile.am	Fri Dec 30 22:17:27 2005 +0200
@@ -1,4 +1,10 @@
-SUBDIRS = src doc
+if BUILD_DOCS
+DOCS = doc
+endif
+
+SUBDIRS = \
+	src \
+	$(DOCS)
 
 confdir = $(sysconfdir)
 conf_DATA = dovecot-example.conf