2006-04-27 [paul] 2.1.1cvs37
[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         sylpheed-claws-128x128.png \
17         sylpheed-claws-64x64.png \
18         sylpheed-claws.pc.in \
19         sylpheed-claws.desktop \
20         sylpheed-claws.png \
21         autogen.sh
22
23 if SYLPHEED_GNOME2
24 # hicolor icon theme, base class of all icon themes
25 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
26 pixmap_DATA=sylpheed-claws.png
27 gnomapdir = $(datadir)/applications
28 gnomap_DATA=sylpheed-claws.desktop
29 else
30 if SYLPHEED_GNOME
31 pixmapdir=$(gnomedatadir)/pixmaps
32 pixmap_DATA=sylpheed-claws.png
33 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
34 gnomap_DATA=sylpheed-claws.desktop
35 else
36 pixmapdir=
37 pixmap_DATA=
38 gnomapdir=
39 gnomap_DATA=
40 endif
41 endif
42
43 BZIP2_ENV =
44
45 release: distdir
46         -chmod -R a+r $(distdir)
47         GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
48         BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
49         -rm -rf $(distdir)
50
51 pkgconfigdir = $(libdir)/pkgconfig
52 pkgconfig_DATA = sylpheed-claws.pc
53
54 sylpheedincludedir = $(pkgincludedir)
55 sylpheedinclude_HEADERS = \
56         config.h