updated
[claws.git] / Makefile.am
1 SUBDIRS = m4 po src tools config doc
2
3 EXTRA_DIST = \
4         ChangeLog \
5         ChangeLog.gtk1 \
6         RELEASE_NOTES \
7         sylpheed-claws-128x128.png \
8         sylpheed-claws-64x64.png \
9         sylpheed-claws.pc.in \
10         sylpheed-claws.desktop \
11         sylpheed-claws.png \
12         autogen.sh
13
14 if SYLPHEED_GNOME2
15 # hicolor icon theme, base class of all icon themes
16 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
17 pixmap_DATA=sylpheed-claws.png
18 gnomapdir = $(datadir)/applications
19 gnomap_DATA=sylpheed-claws.desktop
20 else
21 if SYLPHEED_GNOME
22 pixmapdir=$(gnomedatadir)/pixmaps
23 pixmap_DATA=sylpheed-claws.png
24 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
25 gnomap_DATA=sylpheed-claws.desktop
26 else
27 pixmapdir=
28 pixmap_DATA=
29 gnomapdir=
30 gnomap_DATA=
31 endif
32 endif
33
34 BZIP2_ENV =
35
36 release: distdir
37         -chmod -R a+r $(distdir)
38         GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
39         BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
40         -rm -rf $(distdir)
41
42 pkgconfigdir = $(libdir)/pkgconfig
43 pkgconfig_DATA = sylpheed-claws.pc
44
45 sylpheedincludedir = $(pkgincludedir)
46 sylpheedinclude_HEADERS = \
47         config.h