2009-06-12 [mones] 3.7.1cvs74
[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:
29         @-if test -z "$(DESTDIR)"; then                                 \
30                 echo "Updating Gtk icon cache.";                        \
31                 $(gtk_update_icon_cache);                               \
32         else                                                            \
33                 echo "*** Icon cache not updated. Remember to run:";    \
34                 echo "***";                                             \
35                 echo "***   $(gtk_update_icon_cache)";                  \
36                 echo "***";                                             \
37         fi
38 endif
39
40 pkgconfigdir = $(libdir)/pkgconfig
41 pkgconfig_DATA = claws-mail.pc
42
43 clawsincludedir = $(pkgincludedir)
44 clawsinclude_HEADERS = \
45         config.h
46
47 relnotesdir = $(docdir)
48 relnotes_DATA = RELEASE_NOTES