Add new functions.
[claws.git] / Makefile.am
index 862fd7895b682b44c5bdac9b3879d4212262279b..5c46e63100faf1e8aa0fc8088da183bd21b46332 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = ac po intl libkcc src manual tools
+SUBDIRS = ac po intl libkcc src manual faq tools
 
 EXTRA_DIST = \
        ChangeLog.jp \
@@ -6,11 +6,11 @@ EXTRA_DIST = \
        README.jp \
        README.claws \
        TODO.jp \
+       sylpheed.desktop \
        sylpheed.spec \
        sylpheed.spec.in \
        autogen.sh \
        sylpheed.png \
-       sylpheed.desktop \
        ChangeLog.claws
 
 if SYLPHEED_GNOME
@@ -30,5 +30,8 @@ BZIP2_ENV =
 release: distdir
        -chmod -R a+r $(distdir)
        GZIP=$(GZIP_ENV) $(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) $(TAR) --bzip2 -chof $(distdir).tar.bz2 $(distdir)
        -rm -rf $(distdir)