remove reference to 'headerwindow.c'
[claws.git] / Makefile.am
index 8202bfb3df41c5072124343dfa02149d90a91cba..381af96d8de1e4e05615fc2ff9137bdb8e7e783b 100644 (file)
@@ -1,15 +1,17 @@
-SUBDIRS = ac po intl libkcc src manual
+SUBDIRS = ac po intl libkcc src manual 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
 pixmapdir=$(gnomedir)/share/pixmaps
@@ -28,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)