-SUBDIRS = ac po intl src man manual faq tools config
+SUBDIRS = m4 po src tools config doc
EXTRA_DIST = \
- ChangeLog.jp \
- INSTALL.jp \
- README.jp \
ChangeLog.claws \
+ ChangeLog-gtk2.claws \
README.claws \
- TODO \
- TODO.claws \
- TODO.jp \
- sylpheed.desktop \
+ RELEASE_NOTES.claws \
+ sylpheed-claws-128x128.png \
+ sylpheed-claws-64x64.png \
+ sylpheed-claws.pc.in \
+ sylpheed-claws.desktop \
+ sylpheed-claws.png \
sylpheed.spec \
sylpheed.spec.in \
- sylpheed.png \
- sylpheed-128x128.png \
- sylpheed-64x64.png \
- autogen.sh
+ autogen.sh
+if SYLPHEED_GNOME2
+# hicolor icon theme, base class of all icon themes
+pixmapdir=$(datadir)/icons/hicolor/48x48/apps
+pixmap_DATA=sylpheed-claws.png
+gnomapdir = $(datadir)/applications
+gnomap_DATA=sylpheed-claws.desktop
+else
if SYLPHEED_GNOME
-pixmapdir=$(gnomedir)/share/pixmaps
-pixmap_DATA=sylpheed.png
-gnomapdir=$(gnomedir)/share/gnome/apps/Internet
-gnomap_DATA=sylpheed.desktop
+pixmapdir=$(gnomedatadir)/pixmaps
+pixmap_DATA=sylpheed-claws.png
+gnomapdir=$(gnomedatadir)/gnome/apps/Internet
+gnomap_DATA=sylpheed-claws.desktop
else
pixmapdir=
pixmap_DATA=
gnomapdir=
gnomap_DATA=
endif
+endif
BZIP2_ENV =
> $(distdir)/sylpheed.spec
BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
-rm -rf $(distdir)
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = sylpheed-claws.pc
+
+sylpheedincludedir = $(pkgincludedir)
+sylpheedinclude_HEADERS = \
+ config.h