Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8050:ba857d9b5f77 HEAD
zlib: Install the plugin also to pop3 directory.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 21 Jul 2008 18:08:17 +0300 |
parents | e2f3b5bd0e47 |
children | 0cf12f30985f |
files | src/plugins/zlib/Makefile.am |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ -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 = \ 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