2011-11-29 [wwp] 3.7.10cvs107
[claws.git] / Makefile.am
1 SUBDIRS = m4 po src tools config intl doc
2
3 EXTRA_DIST = \
4         ChangeLog.claws \
5         README.claws \
6         RELEASE_NOTES.claws \
7         sylpheed-128x128.png \
8         sylpheed-64x64.png \
9         sylpheed-claws.pc.in \
10         sylpheed.desktop \
11         sylpheed.png \
12         sylpheed.spec \
13         sylpheed.spec.in
14
15 if SYLPHEED_GNOME
16 pixmapdir=$(gnomedatadir)/pixmaps
17 pixmap_DATA=sylpheed.png
18 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
19 gnomap_DATA=sylpheed.desktop
20 else
21 pixmapdir=
22 pixmap_DATA=
23 gnomapdir=
24 gnomap_DATA=
25 endif
26
27 BZIP2_ENV =
28
29 release: distdir
30         -chmod -R a+r $(distdir)
31         GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
32         rm -f $(distdir)/sylpheed.spec
33         sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
34           > $(distdir)/sylpheed.spec
35         BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
36         -rm -rf $(distdir)
37
38 pkgconfigdir = $(libdir)/pkgconfig
39 pkgconfig_DATA = sylpheed-claws.pc
40
41 sylpheedincludedir = $(pkgincludedir)
42 sylpheedinclude_HEADERS = \
43         config.h