2006-12-28 [colin] 2.6.1cvs86
[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 # hicolor icon theme, base class of all icon themes
24 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
25 pixmap_DATA=claws-mail.png
26 gnomapdir = $(datadir)/applications
27 gnomap_DATA=claws-mail.desktop
28
29 if CLAWS_GNOME2
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 endif
43
44 pkgconfigdir = $(libdir)/pkgconfig
45 pkgconfig_DATA = claws-mail.pc
46
47 clawsincludedir = $(pkgincludedir)
48 clawsinclude_HEADERS = \
49         config.h
50
51 relnotesdir = $(docdir)
52 relnotes_DATA = RELEASE_NOTES