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 = m4 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 \
31 # hicolor icon theme, base class of all icon themes
32 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
33 pixmap_DATA=claws-mail.png
35 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
36 pixmap64_DATA=claws-mail-64x64.png
38 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
39 pixmap128_DATA=claws-mail-128x128.png
41 # when changing the name or location of the .desktop file,
42 # also update src/common/Makefile.am
43 gnomapdir = $(datadir)/applications
44 gnomap_DATA=claws-mail.desktop
47 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
48 mv claws-mail-64x64.png claws-mail.png
49 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
50 mv claws-mail-128x128.png claws-mail.png
53 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
54 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
56 if UPDATE_GTK_ICON_CACHE
57 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
59 install-data-hook: rename-icons update-icon-cache
60 uninstall-hook: remove-icons update-icon-cache
63 @-if test -z "$(DESTDIR)"; then \
64 echo "Updating Gtk icon cache."; \
65 $(gtk_update_icon_cache); \
67 echo "*** Icon cache not updated. Remember to run:"; \
69 echo "*** $(gtk_update_icon_cache)"; \
74 install-data-hook: rename-icons
75 uninstall-hook: remove-icons
79 pkgconfigdir = $(libdir)/pkgconfig
80 pkgconfig_DATA = claws-mail.pc
82 clawsincludedir = $(pkgincludedir)
83 clawsinclude_HEADERS = \
86 relnotesdir = $(docdir)
87 relnotes_DATA = RELEASE_NOTES
91 maintainer-clean-local:
96 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog