]> granicus.if.org Git - curl/commitdiff
lzma compressed tarballs too for some testing, it does produce MUCH smaller
authorDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2009 09:36:08 +0000 (09:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 23 Feb 2009 09:36:08 +0000 (09:36 +0000)
files

maketgz

diff --git a/maketgz b/maketgz
index 3ea9bcff7ca69d38a2cb17de9155336e1b682df7..9e3e37350ad74f950345d2c6fb174eb5d1e8964e 100755 (executable)
--- a/maketgz
+++ b/maketgz
@@ -143,7 +143,16 @@ make -s dist VERSION=$version
 
 bzip2="curl-$version.tar.bz2"
 echo "Generating $bzip2"
-gzip -dc $targz | bzip2 - > $bzip2
+gzip -dc $targz | bzip2 --best - > $bzip2
+
+############################################################################
+#
+# Now make an lzma archive from the tar.gz original
+#
+
+lzma="curl-$version.tar.lzma"
+echo "Generating $lzma"
+gzip -dc $targz | lzma --best - > $lzma
 
 ############################################################################
 #
@@ -169,9 +178,7 @@ makezip
 echo "------------------"
 echo "maketgz report:"
 echo ""
-ls -l $targz $bzip2 $zip
-
-md5sum $targz $bzip2 $zip
+ls -l $targz $bzip2 $zip $lzma
 
 echo "Run this:"
-echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip"
+echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $lzma"