Makefile.am 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ACLOCAL_AMFLAGS = -I m4
  2. AUTOMAKE_OPTIONS = dist-bzip2
  3. if PLATFORM_WIN32
  4. tools =
  5. else
  6. tools = tools
  7. endif
  8. SUBDIRS = m4 po src $(tools) config doc manual
  9. EXTRA_DIST = \
  10. ChangeLog \
  11. ChangeLog.gtk1 \
  12. RELEASE_NOTES \
  13. claws-mail-128x128.png \
  14. claws-mail-64x64.png \
  15. claws-mail.pc.in \
  16. claws-mail.desktop \
  17. claws-mail.png \
  18. autogen.sh
  19. if CLAWS_GNOME2
  20. # hicolor icon theme, base class of all icon themes
  21. pixmapdir=$(datadir)/icons/hicolor/48x48/apps
  22. pixmap_DATA=claws-mail.png
  23. gnomapdir = $(datadir)/applications
  24. gnomap_DATA=claws-mail.desktop
  25. gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
  26. install-data-hook:
  27. @-if test -z "$(DESTDIR)"; then \
  28. echo "Updating Gtk icon cache."; \
  29. $(gtk_update_icon_cache); \
  30. else \
  31. echo "*** Icon cache not updated. Remember to run:"; \
  32. echo "***"; \
  33. echo "*** $(gtk_update_icon_cache)"; \
  34. echo "***"; \
  35. fi
  36. else
  37. if CLAWS_GNOME
  38. pixmapdir=$(gnomedatadir)/pixmaps
  39. pixmap_DATA=claws-mail.png
  40. gnomapdir=$(gnomedatadir)/gnome/apps/Internet
  41. gnomap_DATA=claws-mail.desktop
  42. else
  43. pixmapdir=
  44. pixmap_DATA=
  45. gnomapdir=
  46. gnomap_DATA=
  47. endif
  48. endif
  49. pkgconfigdir = $(libdir)/pkgconfig
  50. pkgconfig_DATA = claws-mail.pc
  51. clawsincludedir = $(pkgincludedir)
  52. clawsinclude_HEADERS = \
  53. config.h