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 \
42 # hicolor icon theme, base class of all icon themes
43 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
44 pixmap_DATA=claws-mail.png
46 pixmap64dir=$(datadir)/icons/hicolor/64x64/apps
47 pixmap64_DATA=claws-mail-64x64.png
49 pixmap128dir=$(datadir)/icons/hicolor/128x128/apps
50 pixmap128_DATA=claws-mail-128x128.png
53 @cd $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps && \
54 mv claws-mail-64x64.png claws-mail.png
55 @cd $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps && \
56 mv claws-mail-128x128.png claws-mail.png
59 rm -f $(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/claws-mail.png
60 rm -f $(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/claws-mail.png
62 if UPDATE_GTK_ICON_CACHE
63 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
65 install-data-hook: rename-icons update-icon-cache
66 uninstall-hook: remove-icons update-icon-cache
69 @-if test -z "$(DESTDIR)"; then \
70 echo "Updating Gtk icon cache."; \
71 $(gtk_update_icon_cache); \
73 echo "*** Icon cache not updated. Remember to run:"; \
75 echo "*** $(gtk_update_icon_cache)"; \
80 install-data-hook: rename-icons
81 uninstall-hook: remove-icons
85 pkgconfigdir = $(libdir)/pkgconfig
86 pkgconfig_DATA = claws-mail.pc
88 clawsincludedir = $(pkgincludedir)
89 clawsinclude_HEADERS = \
92 relnotesdir = $(docdir)
93 relnotes_DATA = RELEASE_NOTES
97 maintainer-clean-local:
102 @./tools/gitlog2changelog.py 3.9.0 > ChangeLog