2005-06-15 [colin] 1.9.11cvs74
[claws.git] / Makefile.am
1 SUBDIRS = m4 po src tools config doc
2
3 EXTRA_DIST = \
4         ChangeLog.claws \
5         ChangeLog-gtk2.claws \
6         ChangeLog-gtk2.jp \
7         README.claws \
8         RELEASE_NOTES.claws \
9         sylpheed-128x128.png \
10         sylpheed-64x64.png \
11         sylpheed-claws.pc.in \
12         sylpheed.desktop \
13         sylpheed.png \
14         sylpheed.spec \
15         sylpheed.spec.in \
16         TODO-gtk2 \
17         TODO-gtk2.jp \
18         autogen.sh 
19
20 if SYLPHEED_GNOME2
21 # hicolor icon theme, base class of all icon themes
22 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
23 pixmap_DATA=sylpheed.png
24 gnomapdir = $(datadir)/applications
25 gnomap_DATA=sylpheed.desktop
26 else
27 if SYLPHEED_GNOME
28 pixmapdir=$(gnomedatadir)/pixmaps
29 pixmap_DATA=sylpheed.png
30 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
31 gnomap_DATA=sylpheed.desktop
32 else
33 pixmapdir=
34 pixmap_DATA=
35 gnomapdir=
36 gnomap_DATA=
37 endif
38 endif
39
40 BZIP2_ENV =
41
42 release: distdir
43         -chmod -R a+r $(distdir)
44         GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
45         rm -f $(distdir)/sylpheed.spec
46         sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
47           > $(distdir)/sylpheed.spec
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