2006-12-01 [wwp] 2.6.0cvs72
[claws.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2 AUTOMAKE_OPTIONS = dist-bzip2
3
4 if PLATFORM_WIN32
5 tools = 
6 else
7 tools = tools
8 endif
9
10 SUBDIRS = m4 po src $(tools) config doc manual
11
12 EXTRA_DIST = \
13         ChangeLog \
14         ChangeLog.gtk1 \
15         RELEASE_NOTES \
16         claws-mail-128x128.png \
17         claws-mail-64x64.png \
18         claws-mail.pc.in \
19         claws-mail.desktop \
20         claws-mail.png \
21         autogen.sh
22
23 if CLAWS_GNOME2
24 # hicolor icon theme, base class of all icon themes
25 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
26 pixmap_DATA=claws-mail.png
27 gnomapdir = $(datadir)/applications
28 gnomap_DATA=claws-mail.desktop
29
30 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
31
32 install-data-hook:
33         @-if test -z "$(DESTDIR)"; then                                 \
34                 echo "Updating Gtk icon cache.";                        \
35                 $(gtk_update_icon_cache);                               \
36         else                                                            \
37                 echo "*** Icon cache not updated. Remember to run:";    \
38                 echo "***";                                             \
39                 echo "***   $(gtk_update_icon_cache)";                  \
40                 echo "***";                                             \
41         fi
42
43 else
44 if CLAWS_GNOME
45 pixmapdir=$(gnomedatadir)/pixmaps
46 pixmap_DATA=claws-mail.png
47 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
48 gnomap_DATA=claws-mail.desktop
49 else
50 pixmapdir=
51 pixmap_DATA=
52 gnomapdir=
53 gnomap_DATA=
54 endif
55 endif
56
57 pkgconfigdir = $(libdir)/pkgconfig
58 pkgconfig_DATA = claws-mail.pc
59
60 clawsincludedir = $(pkgincludedir)
61 clawsinclude_HEADERS = \
62         config.h