2009-10-05 [paul] 3.7.2cvs43
[claws.git] / Makefile.am
blob2e0e5d4618dbbc9f46e31c953dd279ff7cca6bd8
1 ACLOCAL_AMFLAGS = -I m4
2 AUTOMAKE_OPTIONS = dist-bzip2
4 SUBDIRS = m4 po src tools config doc manual
6 EXTRA_DIST = \
7         ChangeLog \
8         ChangeLog.gtk1 \
9         ChangeLog.pre2.0.0 \
10         ChangeLog.2.0.0-3.0.0 \
11         RELEASE_NOTES \
12         claws-mail-128x128.png \
13         claws-mail-64x64.png \
14         claws-mail.pc.in \
15         claws-mail.desktop \
16         claws-mail.png \
17         autogen.sh
19 # hicolor icon theme, base class of all icon themes
20 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
21 pixmap_DATA=claws-mail.png
22 gnomapdir = $(datadir)/applications
23 gnomap_DATA=claws-mail.desktop
25 if CLAWS_GNOME2
26 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
28 install-data-hook: update-icon-cache
29 uninstall-hook: update-icon-cache
31 update-icon-cache:
32         @-if test -z "$(DESTDIR)"; then                                 \
33                 echo "Updating Gtk icon cache.";                        \
34                 $(gtk_update_icon_cache);                               \
35         else                                                            \
36                 echo "*** Icon cache not updated. Remember to run:";    \
37                 echo "***";                                             \
38                 echo "***   $(gtk_update_icon_cache)";                  \
39                 echo "***";                                             \
40         fi
41 endif
43 pkgconfigdir = $(libdir)/pkgconfig
44 pkgconfig_DATA = claws-mail.pc
46 clawsincludedir = $(pkgincludedir)
47 clawsinclude_HEADERS = \
48         config.h
50 relnotesdir = $(docdir)
51 relnotes_DATA = RELEASE_NOTES