annotate src/plugins/trash/Makefile.am @ 7864:f5d1dc944a7c HEAD

Previous changes broke plugin symlink creation in make install.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jun 2008 10:13:29 +0300
parents b63aa0ffe564
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
1 AM_CPPFLAGS = \
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
2 -I$(top_srcdir)/src/lib \
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3 -I$(top_srcdir)/src/lib-mail \
5450
7a6db5ec047d Better type safety to module_contexts arrays. Already fixed some bugs.
Timo Sirainen <tss@iki.fi>
parents: 4910
diff changeset
4 -I$(top_srcdir)/src/lib-index \
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
5 -I$(top_srcdir)/src/lib-storage \
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
6 -I$(top_srcdir)/src/plugins/quota
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
7
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4413
diff changeset
8 lib11_trash_plugin_la_LDFLAGS = -module -avoid-version
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
10 module_LTLIBRARIES = \
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4413
diff changeset
11 lib11_trash_plugin.la
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12
4910
e66dc3774099 Changed the plugin filename numbering (ie. the ordering in which the plugins
Timo Sirainen <tss@iki.fi>
parents: 4413
diff changeset
13 lib11_trash_plugin_la_SOURCES = \
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
14 trash-plugin.c
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
15
3743
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
16 noinst_HEADERS = \
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
17 trash-plugin.h
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
18
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
19 install-exec-local:
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
20 for d in imap lda; do \
4413
96d9947fde60 mkdir_p doesn't accept multiple directories in some systems, so do it one at
Timo Sirainen <tss@iki.fi>
parents: 3753
diff changeset
21 $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
7864
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7826
diff changeset
22 rm -f $(DESTDIR)$(moduledir)/$$d/lib11_trash_plugin$(MODULE_SUFFIX); \
f5d1dc944a7c Previous changes broke plugin symlink creation in make install.
Timo Sirainen <tss@iki.fi>
parents: 7826
diff changeset
23 $(LN_S) ../lib11_trash_plugin$(MODULE_SUFFIX) $(DESTDIR)$(moduledir)/$$d; \
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
24 done
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
25