dovecot-1.2: zlib: Install the plugin also to pop3 directory.
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jul 21 18:08:30 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/ba857d9b5f77
changeset: 8050:ba857d9b5f77
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 21 18:08:17 2008 +0300
description:
zlib: Install the plugin also to pop3 directory.
diffstat:
1 file changed, 8 insertions(+), 3 deletions(-)
src/plugins/zlib/Makefile.am | 11 ++++++++---
diffs (27 lines):
diff -r e2f3b5bd0e47 -r ba857d9b5f77 src/plugins/zlib/Makefile.am
--- a/src/plugins/zlib/Makefile.am Mon Jul 21 17:42:39 2008 +0300
+++ b/src/plugins/zlib/Makefile.am Mon Jul 21 18:08:17 2008 +0300
@@ -5,11 +5,9 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib-storage \
-I$(top_srcdir)/src/lib-storage/index
-imap_moduledir = $(moduledir)/imap
-
lib20_zlib_plugin_la_LDFLAGS = -module -avoid-version
-imap_module_LTLIBRARIES = \
+module_LTLIBRARIES = \
lib20_zlib_plugin.la
if BUILD_ZLIB
@@ -30,3 +28,10 @@ noinst_HEADERS = \
noinst_HEADERS = \
istream-zlib.h \
zlib-plugin.h
+
+install-exec-local:
+ for d in imap pop3; do \
+ $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
+ rm -f $(DESTDIR)$(moduledir)/$$d/lib20_zlib_plugin$(MODULE_SUFFIX); \
+ $(LN_S) ../lib20_zlib_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \
+ done
More information about the dovecot-cvs
mailing list