Remove support for the obsolete AWN
[claws.git] / tools / Makefile.am
blobccb9693402a2a436697538c0e63e6ce8ce6ee43a
1 # Copyright 1999-2016 the Claws Mail team.
2 # This file is part of Claws Mail package, and distributed under the
3 # terms of the General Public License version 3 (or later).
4 # See COPYING file for license details.
6 EXTRA_TOOLS = \
7         acroread2claws-mail.pl \
8         calypso_convert.pl \
9         claws-mail-compose-insert-files.pl \
10         cm-reparent.pl \
11         convert_mbox.pl \
12         csv2addressbook.pl \
13         ddg_search.pl \
14         eud2gc.py \
15         filter_conv.pl \
16         filter_conv_new.pl \
17         fix_date.sh \
18         gif2xface.pl \
19         google_msgid.pl \
20         kmail2claws-mail.pl \
21         kmail2claws-mail_v2.pl \
22         kmail-mailbox2claws-mail.pl \
23         mairix.sh \
24         mew2claws-mail.pl \
25         multiwebsearch.pl \
26         nautilus2claws-mail.sh \
27         outlook2claws-mail.pl \
28         popfile-link.sh \
29         tb2claws-mail \
30         tbird2claws.py \
31         textviewer.pl \
32         textviewer.sh \
33         thunderbird-filters-convertor.pl \
34         update-po \
35         uudec \
36         uuooffice \
37         vcard2xml.py \
38         kdeservicemenu/install.sh \
39         kdeservicemenu/claws-mail-kdeservicemenu.pl
41 EXTRA_DIST = \
42         README \
43         multiwebsearch.conf \
44         kdeservicemenu/README \
45         kdeservicemenu/claws-mail-attach-files.desktop.template \
46         kdeservicemenu/claws-mail-attach-files.desktop.kde4template \
47         $(EXTRA_TOOLS)
49 MAKE_EXE = chmod u+x $(EXTRA_TOOLS)
51 all-local:
52         if [ ! -d kdeservicemenu -a ! -e kdeservicemenu ]; then \
53         mkdir kdeservicemenu; \
54         fi; \
55         for file in $(EXTRA_TOOLS); do \
56         if [ ! -e ${top_builddir}/tools/$$file ]; then \
57         todir=${top_builddir}/tools; \
58         dir=$$(dirname $$file); \
59         if [ ! $$dir = . ]; then \
60         todir=$$todir/$$dir; \
61         fi; \
62         cp ${top_srcdir}/tools/$$file $$todir; \
63         fi; \
64         done;
65         $(MAKE_EXE)
67 distclean-local:
68         if [ ! ${top_builddir} = ${top_srcdir} ]; then \
69         for file in $(EXTRA_TOOLS); do \
70         rm -f $$file; \
71         done; \
72         if [ -d kdeservicemenu ]; then \
73         rmdir --ignore-fail-on-non-empty kdeservicemenu; \
74         fi; \
75         fi
77 .PHONY: test