2007-07-02 [paul] 2.9.2cvs77
[claws.git] / Makefile.am
blob015caface05beff2dc9f10fcbf3ff547a6aa653f
1 ACLOCAL_AMFLAGS = -I m4
2 AUTOMAKE_OPTIONS = dist-bzip2
4 if PLATFORM_WIN32
5 tools = 
6 else
7 tools = tools
8 endif
10 SUBDIRS = m4 po src $(tools) config doc manual
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
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
30 if CLAWS_GNOME2
31 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
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
45 pkgconfigdir = $(libdir)/pkgconfig
46 pkgconfig_DATA = claws-mail.pc
48 clawsincludedir = $(pkgincludedir)
49 clawsinclude_HEADERS = \
50         config.h
52 relnotesdir = $(docdir)
53 relnotes_DATA = RELEASE_NOTES