# HG changeset patch # User Timo Sirainen # Date 1255654571 14400 # Node ID 5763caa55b576ca55af75fddb16fbd8331b25e49 # Parent 0aa7357761a5b2032e3c25bec0ae5cb2ad2d123b --without-docs: make install no longer installs any docs. 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,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) 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 @@ +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