2005-05-05 [paul] 1.9.6cvs54
[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         sylpheed-128x128.png \
9         sylpheed-64x64.png \
10         sylpheed-claws.pc.in \
11         sylpheed.desktop \
12         sylpheed.png \
13         sylpheed.spec \
14         sylpheed.spec.in \
15         TODO-gtk2 \
16         TODO-gtk2.jp \
17         autogen.sh 
18
19 if SYLPHEED_GNOME
20 pixmapdir=$(gnomedatadir)/pixmaps
21 pixmap_DATA=sylpheed.png
22 gnomapdir=$(gnomedatadir)/gnome/apps/Internet
23 gnomap_DATA=sylpheed.desktop
24 else
25 if SYLPHEED_GNOME2
26 # hicolor icon theme, base class of all icon themes
27 pixmapdir=$(datadir)/icons/hicolor/48x48/apps
28 pixmap_DATA=sylpheed.png
29 gnomapdir = $(datadir)/applications
30 gnomap_DATA=sylpheed.desktop
31 else
32 pixmapdir=
33 pixmap_DATA=
34 gnomapdir=
35 gnomap_DATA=
36 endif
37 endif
38
39 BZIP2_ENV =
40
41 release: distdir
42         -chmod -R a+r $(distdir)
43         GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
44         rm -f $(distdir)/sylpheed.spec
45         sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
46           > $(distdir)/sylpheed.spec
47         BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
48         -rm -rf $(distdir)
49
50 pkgconfigdir = $(libdir)/pkgconfig
51 pkgconfig_DATA = sylpheed-claws.pc
52
53 sylpheedincludedir = $(pkgincludedir)
54 sylpheedinclude_HEADERS = \
55         config.h