From 7643956bae017000418c96928a21dc43f9d01cec Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Oct 2009 20:50:19 -0400 Subject: [PATCH] --without-docs: make install no longer installs any docs. --HG-- branch : HEAD --- doc/Makefile.am | 8 ++++++-- doc/wiki/Makefile.am.in | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 6d08cc55cf..7ea6c5233f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,14 +1,18 @@ SUBDIRS = wiki example-config -doc_DATA = \ +docfiles = \ auth-protocol.txt \ documentation.txt \ securecoding.txt \ thread-refs.txt +if BUILD_DOCS +doc_DATA = $(docfiles) +endif + EXTRA_DIST = \ dovecot-initd.sh \ mkcert.sh \ dovecot-openssl.cnf \ solr-schema.xml \ - $(doc_DATA) + $(docfiles) diff --git a/doc/wiki/Makefile.am.in b/doc/wiki/Makefile.am.in index 644391806e..61e3ba5b4d 100644 --- a/doc/wiki/Makefile.am.in +++ b/doc/wiki/Makefile.am.in @@ -3,4 +3,8 @@ wikidir = $(docdir)/wiki EXTRA_DIST = \ $(wiki_DATA) -wiki_DATA = \ No newline at end of file +if BUILD_DOCS +wiki_DATA = $(wikifiles) +endif + +wikifiles = \ No newline at end of file -- 2.47.3