2005-10-13 [colin] 1.9.15cvs44
[claws.git] / Makefile.am
index 2466c620f9c442bb873b3896aa2e4ecd8f45cf40..338190f112993e7a2b86f6a2b64f3a9986057a6f 100644 (file)
@@ -1,32 +1,38 @@
-SUBDIRS = ac po intl libkcc src man manual faq tools
+SUBDIRS = m4 po src tools config doc
 
 EXTRA_DIST = \
-       ChangeLog.jp \
-       INSTALL.jp \
-       README.jp \
        ChangeLog.claws \
+       ChangeLog-gtk2.claws \
        README.claws \
-       README.README \
-       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 =
 
@@ -38,3 +44,10 @@ release: distdir
          > $(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