1 # Makefile.am for toplevel directory
2 # This file is part of Claws Mail package.
3 # See COPYING file for license details.
5 ACLOCAL_AMFLAGS = -I m4
6 AUTOMAKE_OPTIONS = dist-bzip2 dist-xz
8 SUBDIRS = m4 po src tools config doc manual
10 # when changing the name or location of the .desktop file,
11 # also update src/common/Makefile.am
12 desktop_in_files = claws-mail.desktop.in
13 desktopdir = $(datadir)/applications
14 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
16 @INTLTOOL_DESKTOP_RULE@
18 appdata_in_files = claws-mail.appdata.xml.in
19 appdatadir=$(datadir)/appdata
20 appdata_DATA = $(appdata_in_files:.xml.in=.xml)
28 ChangeLog.2.0.0-3.0.0 \
29 ChangeLog.3.0.0-3.9.0 \
31 claws-mail-128x128.png \
32 claws-mail-64x64.png \
41 # hicolor icon theme, base class of all icon themes
42 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
43 pixmap_DATA=claws-mail.png
45 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
46 pixmap64_DATA=claws-mail-64x64.png
48 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
49 pixmap128_DATA=claws-mail-128x128.png
52 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
53 mv claws-mail-64x64.png claws-mail.png
54 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
55 mv claws-mail-128x128.png claws-mail.png
58 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
59 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
61 if UPDATE_GTK_ICON_CACHE
62 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
64 install-data-hook: rename-icons update-icon-cache
65 uninstall-hook: remove-icons update-icon-cache
68 @-if test -z "$(DESTDIR)"; then \
69 echo "Updating Gtk icon cache."; \
70 $(gtk_update_icon_cache); \
72 echo "*** Icon cache not updated. Remember to run:"; \
74 echo "*** $(gtk_update_icon_cache)"; \
79 install-data-hook: rename-icons
80 uninstall-hook: remove-icons
84 pkgconfigdir = $(libdir)/pkgconfig
85 pkgconfig_DATA = claws-mail.pc
87 clawsincludedir = $(pkgincludedir)
88 clawsinclude_HEADERS = \
91 relnotesdir = $(docdir)
92 relnotes_DATA = RELEASE_NOTES
96 maintainer-clean-local:
101 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog