remove reference to 'headerwindow.c'
[claws.git] / Makefile.am
index eeaf8f394e700fa791febf1a144e6929efdd8423..381af96d8de1e4e05615fc2ff9137bdb8e7e783b 100644 (file)
@@ -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)
-       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)