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