sync with 0.7.5
[claws.git] / Makefile.am
1 SUBDIRS = ac po intl libkcc src manual faq tools
2
3 EXTRA_DIST = \
4         ChangeLog.jp \
5         INSTALL.jp \
6         README.jp \
7         ChangeLog.claws \
8         README.claws \
9         TODO.jp \
10         sylpheed.desktop \
11         sylpheed.spec \
12         sylpheed.spec.in \
13         sylpheed.png \
14         sylpheed-128x128.png \
15         sylpheed-64x64.png \
16         autogen.sh 
17
18 if SYLPHEED_GNOME
19 pixmapdir=$(gnomedir)/share/pixmaps
20 pixmap_DATA=sylpheed.png
21 gnomapdir=$(gnomedir)/share/gnome/apps/Internet
22 gnomap_DATA=sylpheed.desktop
23 else
24 pixmapdir=
25 pixmap_DATA=
26 gnomapdir=
27 gnomap_DATA=
28 endif
29
30 BZIP2_ENV =
31
32 release: distdir
33         -chmod -R a+r $(distdir)
34         GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
35         rm -f $(distdir)/sylpheed.spec
36         sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
37           > $(distdir)/sylpheed.spec
38         BZIP2=$(BZIP2_ENV) $(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
39         -rm -rf $(distdir)