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.
7 include $(top_srcdir)/tests.mk
10 ACLOCAL_AMFLAGS = -I m4
11 AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
13 SUBDIRS = po src tools config doc manual
19 ChangeLog.2.0.0-3.0.0 \
20 ChangeLog.3.0.0-3.9.0 \
22 claws-mail-128x128.png \
23 claws-mail-64x64.png \
33 # hicolor icon theme, base class of all icon themes
34 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
35 pixmap_DATA=claws-mail.png
37 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
38 pixmap64_DATA=claws-mail-64x64.png
40 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
41 pixmap128_DATA=claws-mail-128x128.png
43 # when changing the name or location of the .desktop file,
44 # also update src/common/Makefile.am
45 gnomapdir = $(datadir)/applications
46 gnomap_DATA=claws-mail.desktop
49 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
50 mv claws-mail-64x64.png claws-mail.png
51 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
52 mv claws-mail-128x128.png claws-mail.png
55 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
56 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
58 if UPDATE_GTK_ICON_CACHE
59 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
61 install-data-hook: rename-icons update-icon-cache
62 uninstall-hook: remove-icons update-icon-cache
65 @-if test -z "$(DESTDIR)"; then \
66 echo "Updating Gtk icon cache."; \
67 $(gtk_update_icon_cache); \
69 echo "*** Icon cache not updated. Remember to run:"; \
71 echo "*** $(gtk_update_icon_cache)"; \
76 install-data-hook: rename-icons
77 uninstall-hook: remove-icons
81 pkgconfigdir = $(libdir)/pkgconfig
82 pkgconfig_DATA = claws-mail.pc
84 clawsincludedir = $(pkgincludedir)
85 clawsinclude_HEADERS = \
88 relnotesdir = $(docdir)
89 relnotes_DATA = RELEASE_NOTES
93 maintainer-clean-local:
98 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog