2009-09-20 [mones] 3.7.2cvs35
[claws.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2 AUTOMAKE_OPTIONS = dist-bzip2
3
4 SUBDIRS = m4 po src tools config doc manual
5
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
18
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
24
25 if CLAWS_GNOME2
26 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
27
28 install-data-hook: update-icon-cache
29 uninstall-hook: update-icon-cache
30
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
42
43 pkgconfigdir = $(libdir)/pkgconfig
44 pkgconfig_DATA = claws-mail.pc
45
46 clawsincludedir = $(pkgincludedir)
47 clawsinclude_HEADERS = \
48         config.h
49
50 relnotesdir = $(docdir)
51 relnotes_DATA = RELEASE_NOTES