2007-03-14 [colin] 2.8.1cvs9
[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         ChangeLog.pre2.0.0 \
16         RELEASE_NOTES \
17         claws-mail-128x128.png \
18         claws-mail-64x64.png \
19         claws-mail.pc.in \
20         claws-mail.desktop \
21         claws-mail.png \
22         autogen.sh
23
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 if CLAWS_GNOME2
31 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
32
33 install-data-hook:
34         @-if test -z "$(DESTDIR)"; then                                 \
35                 echo "Updating Gtk icon cache.";                        \
36                 $(gtk_update_icon_cache);                               \
37         else                                                            \
38                 echo "*** Icon cache not updated. Remember to run:";    \
39                 echo "***";                                             \
40                 echo "***   $(gtk_update_icon_cache)";                  \
41                 echo "***";                                             \
42         fi
43 endif
44
45 pkgconfigdir = $(libdir)/pkgconfig
46 pkgconfig_DATA = claws-mail.pc
47
48 clawsincludedir = $(pkgincludedir)
49 clawsinclude_HEADERS = \
50         config.h
51
52 relnotesdir = $(docdir)
53 relnotes_DATA = RELEASE_NOTES