Add new functions.
[claws.git] / Makefile.am
index 7e5b9be561cbe3d2f30cb939cd435ec1df0c5d0a..5c46e63100faf1e8aa0fc8088da183bd21b46332 100644 (file)
@@ -1,15 +1,16 @@
-SUBDIRS = ac po intl libkcc src manual
+SUBDIRS = ac po intl libkcc src manual faq tools
 
 EXTRA_DIST = \
        ChangeLog.jp \
        INSTALL.jp \
        README.jp \
+       README.claws \
        TODO.jp \
+       sylpheed.desktop \
        sylpheed.spec \
        sylpheed.spec.in \
        autogen.sh \
        sylpheed.png \
-       sylpheed.desktop \
        ChangeLog.claws
 
 if SYLPHEED_GNOME
@@ -29,5 +30,8 @@ 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)
+       rm -f $(distdir)/sylpheed.spec
+       sed '/^Source:/s/\.tar\.gz$$/\.tar\.bz2/' sylpheed.spec \
+         > $(distdir)/sylpheed.spec
+       BZIP2=$(BZIP2_ENV) $(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
        -rm -rf $(distdir)