Makefile.am 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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.
  5. EXTRA_TOOLS = \
  6. acroread2claws-mail.pl \
  7. calypso_convert.pl \
  8. claws-mail-compose-insert-files.pl \
  9. cm-reparent.pl \
  10. convert_mbox.pl \
  11. csv2addressbook.pl \
  12. ddg_search.pl \
  13. eud2gc.py \
  14. filter_conv.pl \
  15. filter_conv_new.pl \
  16. fix_date.sh \
  17. gif2xface.pl \
  18. google_msgid.pl \
  19. kmail2claws-mail.pl \
  20. kmail2claws-mail_v2.pl \
  21. kmail-mailbox2claws-mail.pl \
  22. mairix.sh \
  23. mew2claws-mail.pl \
  24. multiwebsearch.pl \
  25. nautilus2claws-mail.sh \
  26. outlook2claws-mail.pl \
  27. popfile-link.sh \
  28. tb2claws-mail \
  29. tbird2claws.py \
  30. textviewer.pl \
  31. textviewer.sh \
  32. thunderbird-filters-convertor.pl \
  33. update-po \
  34. uudec \
  35. uuooffice \
  36. vcard2xml.py \
  37. kdeservicemenu/install.sh \
  38. kdeservicemenu/claws-mail-kdeservicemenu.pl
  39. EXTRA_DIST = \
  40. README \
  41. multiwebsearch.conf \
  42. kdeservicemenu/README \
  43. kdeservicemenu/claws-mail-attach-files.desktop.template \
  44. kdeservicemenu/claws-mail-attach-files.desktop.kde4template \
  45. $(EXTRA_TOOLS)
  46. MAKE_EXE = chmod u+x $(EXTRA_TOOLS)
  47. all-local:
  48. if [ ! -d kdeservicemenu -a ! -e kdeservicemenu ]; then \
  49. mkdir kdeservicemenu; \
  50. fi; \
  51. for file in $(EXTRA_TOOLS); do \
  52. if [ ! -e ${top_builddir}/tools/$$file ]; then \
  53. todir=${top_builddir}/tools; \
  54. dir=$$(dirname $$file); \
  55. if [ ! $$dir = . ]; then \
  56. todir=$$todir/$$dir; \
  57. fi; \
  58. cp ${top_srcdir}/tools/$$file $$todir; \
  59. fi; \
  60. done;
  61. $(MAKE_EXE)
  62. distclean-local:
  63. if [ ! ${top_builddir} = ${top_srcdir} ]; then \
  64. for file in $(EXTRA_TOOLS); do \
  65. rm -f $$file; \
  66. done; \
  67. if [ -d kdeservicemenu ]; then \
  68. rmdir --ignore-fail-on-non-empty kdeservicemenu; \
  69. fi; \
  70. fi
  71. .PHONY: test