annotate Makefile.am @ 5197:e77e4457d95c HEAD

Added --with-headers configure option to install .h files.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Feb 2007 23:50:46 +0200
parents 407e6c620d70
children 085e7b7d56f5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3779
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
1 if BUILD_DOCS
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
2 DOCS = doc
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
3 endif
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
4
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
5 SUBDIRS = \
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
6 src \
e87a8db60d25 Added --with-docs parameter to specify if documentation should be installed.
Timo Sirainen <tss@iki.fi>
parents: 2820
diff changeset
7 $(DOCS)
0
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
8
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9 confdir = $(sysconfdir)
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
10 conf_DATA = dovecot-example.conf
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
11
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12 EXTRA_DIST = \
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
13 COPYING.LGPL \
1901
f59cd148bdfe COPYING.MIT missing
Timo Sirainen <tss@iki.fi>
parents: 1425
diff changeset
14 COPYING.MIT \
0
3b1985cbc908 Initial revision
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
15 $(conf_DATA)
4343
407e6c620d70 dovecot-config now contains module_dir
Timo Sirainen <tss@iki.fi>
parents: 4079
diff changeset
16
5197
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
17 if INSTALL_HEADERS
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
18 pkginclude_HEADERS = config.h
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
19 pkglib_DATA = dovecot-config
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
20 else
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
21 noinst_HEADERS = $(headers)
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
22 noinst_DATA = dovecot-config
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
23 endif
4343
407e6c620d70 dovecot-config now contains module_dir
Timo Sirainen <tss@iki.fi>
parents: 4079
diff changeset
24
5197
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
25 dovecot-config: dovecot-config.in Makefile
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
26 cat dovecot-config.in | sed \
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
27 -e "s|^moduledir=|moduledir=$(moduledir)|" \
e77e4457d95c Added --with-headers configure option to install .h files.
Timo Sirainen <tss@iki.fi>
parents: 4343
diff changeset
28 -e "s|^dovecot_incdir=|dovecot_incdir=$(pkgincludedir)|" > dovecot-config
4343
407e6c620d70 dovecot-config now contains module_dir
Timo Sirainen <tss@iki.fi>
parents: 4079
diff changeset
29
407e6c620d70 dovecot-config now contains module_dir
Timo Sirainen <tss@iki.fi>
parents: 4079
diff changeset
30 CLEANFILES = $(noinst_DATA)
407e6c620d70 dovecot-config now contains module_dir
Timo Sirainen <tss@iki.fi>
parents: 4079
diff changeset
31