* src/common/session.c
[claws.git] / Makefile.am
index eeaf8f394e700fa791febf1a144e6929efdd8423..26c4a0e8056f80c4846b5746317f04908da295b3 100644 (file)
@@ -1,22 +1,25 @@
-SUBDIRS = ac po intl libkcc src manual tools
+SUBDIRS = ac po intl src man manual faq tools config
 
 EXTRA_DIST = \
        ChangeLog.jp \
-       INSTALL.jp \
        README.jp \
+       ChangeLog.claws \
        README.claws \
+       TODO \
+       TODO.claws \
        TODO.jp \
+       sylpheed.desktop \
        sylpheed.spec \
        sylpheed.spec.in \
-       autogen.sh \
        sylpheed.png \
-       sylpheed.desktop \
-       ChangeLog.claws
+       sylpheed-128x128.png \
+       sylpheed-64x64.png \
+       autogen.sh 
 
 if SYLPHEED_GNOME
-pixmapdir=$(gnomedir)/share/pixmaps
+pixmapdir=$(gnomedatadir)/pixmaps
 pixmap_DATA=sylpheed.png
-gnomapdir=$(gnomedir)/share/gnome/apps/Internet
+gnomapdir=$(gnomedatadir)/gnome/apps/Internet
 gnomap_DATA=sylpheed.desktop
 else
 pixmapdir=
@@ -29,6 +32,9 @@ BZIP2_ENV =
 
 release: distdir
        -chmod -R a+r $(distdir)
-       GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
-       BZIP2=$(BZIP2_ENV) $(TAR) chojf $(distdir).tar.bz2 $(distdir)
+       GZIP=$(GZIP_ENV) $(AMTAR)$(TAR) chozf $(distdir).tar.gz $(distdir)
+       rm -f $(distdir)/sylpheed.spec
+       sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
+         > $(distdir)/sylpheed.spec
+       BZIP2=$(BZIP2_ENV) $(AMTAR)$(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
        -rm -rf $(distdir)