2008-08-21 [colin] 3.5.0cvs65
[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         ChangeLog.2.0.0-3.0.0 \
17         RELEASE_NOTES \
18         claws-mail-128x128.png \
19         claws-mail-64x64.png \
20         claws-mail.pc.in \
21         claws-mail.desktop \
22         claws-mail.png \
23         autogen.sh
24
25 # hicolor icon theme, base class of all icon themes
26 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
27 pixmap_DATA=claws-mail.png
28 gnomapdir = $(datadir)/applications
29 gnomap_DATA=claws-mail.desktop
30
31 if CLAWS_GNOME2
32 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
33
34 install-data-hook:
35         @-if test -z "$(DESTDIR)"; then                                 \
36                 echo "Updating Gtk icon cache.";                        \
37                 $(gtk_update_icon_cache);                               \
38         else                                                            \
39                 echo "*** Icon cache not updated. Remember to run:";    \
40                 echo "***";                                             \
41                 echo "***   $(gtk_update_icon_cache)";                  \
42                 echo "***";                                             \
43         fi
44 endif
45
46 pkgconfigdir = $(libdir)/pkgconfig
47 pkgconfig_DATA = claws-mail.pc
48
49 clawsincludedir = $(pkgincludedir)
50 clawsinclude_HEADERS = \
51         config.h
52
53 relnotesdir = $(docdir)
54 relnotes_DATA = RELEASE_NOTES