From: Timo Sirainen Date: Mon, 21 Jul 2008 15:08:17 +0000 (+0300) Subject: zlib: Install the plugin also to pop3 directory. X-Git-Tag: 1.2.alpha1~111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=93bfb4a9710d2266f1c65442214f5b18003f28ec;p=thirdparty%2Fdovecot%2Fcore.git zlib: Install the plugin also to pop3 directory. --HG-- branch : HEAD --- diff --git a/src/plugins/zlib/Makefile.am b/src/plugins/zlib/Makefile.am index 0aa9696f12..3bb13afe4d 100644 --- a/src/plugins/zlib/Makefile.am +++ b/src/plugins/zlib/Makefile.am @@ -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 @@ lib20_zlib_plugin_la_SOURCES = \ 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