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
15 ChangeLog.2.0.0-3.0.0 \
16 ChangeLog.3.0.0-3.9.0 \
18 claws-mail-128x128.png \
19 claws-mail-64x64.png \
27 # hicolor icon theme, base class of all icon themes
28 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
29 pixmap_DATA=claws-mail.png
31 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
32 pixmap64_DATA=claws-mail-64x64.png
34 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
35 pixmap128_DATA=claws-mail-128x128.png
37 # when changing the name or location of the .desktop file,
38 # also update src/common/Makefile.am
39 gnomapdir = $(datadir)/applications
40 gnomap_DATA=claws-mail.desktop
43 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
44 mv claws-mail-64x64.png claws-mail.png
45 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
46 mv claws-mail-128x128.png claws-mail.png
49 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
50 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
52 if UPDATE_GTK_ICON_CACHE
53 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
55 install-data-hook: rename-icons update-icon-cache
56 uninstall-hook: remove-icons update-icon-cache
59 @-if test -z "$(DESTDIR)"; then \
60 echo "Updating Gtk icon cache."; \
61 $(gtk_update_icon_cache); \
63 echo "*** Icon cache not updated. Remember to run:"; \
65 echo "*** $(gtk_update_icon_cache)"; \
70 install-data-hook: rename-icons
71 uninstall-hook: remove-icons
75 pkgconfigdir = $(libdir)/pkgconfig
76 pkgconfig_DATA = claws-mail.pc
78 clawsincludedir = $(pkgincludedir)
79 clawsinclude_HEADERS = \
82 relnotesdir = $(docdir)
83 relnotes_DATA = RELEASE_NOTES
87 maintainer-clean-local:
92 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog