1 # Copyright 1999-2014 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 ACLOCAL_AMFLAGS = -I m4
7 AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
9 SUBDIRS = m4 po src tools config doc manual
13 DIST_SUBDIRS = appdata $(SUBDIRS)
15 # when changing the name or location of the .desktop file,
16 # also update src/common/Makefile.am
17 desktop_in_files = claws-mail.desktop.in
18 desktopdir = $(datadir)/applications
19 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
21 @INTLTOOL_DESKTOP_RULE@
27 ChangeLog.2.0.0-3.0.0 \
28 ChangeLog.3.0.0-3.9.0 \
30 claws-mail-128x128.png \
31 claws-mail-64x64.png \
39 # hicolor icon theme, base class of all icon themes
40 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
41 pixmap_DATA=claws-mail.png
43 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
44 pixmap64_DATA=claws-mail-64x64.png
46 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
47 pixmap128_DATA=claws-mail-128x128.png
50 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
51 mv claws-mail-64x64.png claws-mail.png
52 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
53 mv claws-mail-128x128.png claws-mail.png
56 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
57 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
59 if UPDATE_GTK_ICON_CACHE
60 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
62 install-data-hook: rename-icons update-icon-cache
63 uninstall-hook: remove-icons update-icon-cache
66 @-if test -z "$(DESTDIR)"; then \
67 echo "Updating Gtk icon cache."; \
68 $(gtk_update_icon_cache); \
70 echo "*** Icon cache not updated. Remember to run:"; \
72 echo "*** $(gtk_update_icon_cache)"; \
77 install-data-hook: rename-icons
78 uninstall-hook: remove-icons
82 pkgconfigdir = $(libdir)/pkgconfig
83 pkgconfig_DATA = claws-mail.pc
85 clawsincludedir = $(pkgincludedir)
86 clawsinclude_HEADERS = \
89 relnotesdir = $(docdir)
90 relnotes_DATA = RELEASE_NOTES
94 maintainer-clean-local:
99 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog