annotate src/plugins/trash/Makefile.am @ 4413:96d9947fde60 HEAD

mkdir_p doesn't accept multiple directories in some systems, so do it one at a time. This also cleans up the code.
author Timo Sirainen <tss@iki.fi>
date Sat, 17 Jun 2006 21:03:45 +0300
parents d531130a0e4d
children e66dc3774099
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 \
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
4 -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
5 -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
6
3753
d531130a0e4d Load plugins in sorted order. Prefixed plugins with nn_ set their order.
Timo Sirainen <tss@iki.fi>
parents: 3743
diff changeset
7 lib02_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
8
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
9 module_LTLIBRARIES = \
3753
d531130a0e4d Load plugins in sorted order. Prefixed plugins with nn_ set their order.
Timo Sirainen <tss@iki.fi>
parents: 3743
diff changeset
10 lib02_trash_plugin.la
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
11
3753
d531130a0e4d Load plugins in sorted order. Prefixed plugins with nn_ set their order.
Timo Sirainen <tss@iki.fi>
parents: 3743
diff changeset
12 lib02_trash_plugin_la_SOURCES = \
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
13 trash-plugin.c
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
14
3743
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
15 noinst_HEADERS = \
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
16 trash-plugin.h
146a924333aa Added missing header files. Fixed plugin install hooks to use DESTDIR.
Timo Sirainen <tss@iki.fi>
parents: 3738
diff changeset
17
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
18 install-exec-local:
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
19 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
20 $(mkdir_p) $(DESTDIR)$(moduledir)/$$d; \
3753
d531130a0e4d Load plugins in sorted order. Prefixed plugins with nn_ set their order.
Timo Sirainen <tss@iki.fi>
parents: 3743
diff changeset
21 rm -f $(DESTDIR)$(moduledir)/$$d/lib02_trash_plugin.so; \
d531130a0e4d Load plugins in sorted order. Prefixed plugins with nn_ set their order.
Timo Sirainen <tss@iki.fi>
parents: 3743
diff changeset
22 $(LN_S) ../lib02_trash_plugin.so $(DESTDIR)$(moduledir)/$$d; \
3738
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
23 done
732b62dc1976 Added beginnings of plugin infrastructure. TODO: These could be optionally
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
24