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