dovecot-2.0: Install README file to config directory, which poin...

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 9 23:19:46 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/b1e0c10143fa
changeset: 10438:b1e0c10143fa
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 09 16:19:40 2009 -0500
description:
Install README file to config directory, which points to example-config.

diffstat:

3 files changed, 9 insertions(+)
.hgignore                      |    1 +
doc/example-config/Makefile.am |    6 ++++++
doc/example-config/README.in   |    2 ++

diffs (31 lines):

diff -r 7456f5768184 -r b1e0c10143fa .hgignore
--- a/.hgignore	Wed Dec 09 15:08:05 2009 -0500
+++ b/.hgignore	Wed Dec 09 16:19:40 2009 -0500
@@ -49,6 +49,7 @@ Makefile.in
 **/Info.plist
 **/.libs
 
+doc/example-config/README
 doc/wiki/*.txt
 doc/wiki/Makefile.am
 src/anvil/anvil
diff -r 7456f5768184 -r b1e0c10143fa doc/example-config/Makefile.am
--- a/doc/example-config/Makefile.am	Wed Dec 09 15:08:05 2009 -0500
+++ b/doc/example-config/Makefile.am	Wed Dec 09 16:19:40 2009 -0500
@@ -1,4 +1,10 @@ SUBDIRS = conf.d
 SUBDIRS = conf.d
+
+dovecotconfdir = $(sysconfdir)/dovecot
+dovecotconf_DATA = README
+
+README: README.in Makefile
+	cat README.in | sed "s|@exampledir@|$(exampledir)|" > README
 
 exampledir = $(docdir)/example-config
 example_DATA = \
diff -r 7456f5768184 -r b1e0c10143fa doc/example-config/README.in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/example-config/README.in	Wed Dec 09 16:19:40 2009 -0500
@@ -0,0 +1,2 @@
+Configuration files go to this directory. See example configuration files in
+ at exampledir@/


More information about the dovecot-cvs mailing list