aboutsummaryrefslogtreecommitdiff
path: root/maketgz
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-23 09:36:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-23 09:36:08 +0000
commit3a7e8c9f5f1ece2c820caed66f145097650096a5 (patch)
treec7e0ff4db0e9d80072dbc660771180f3598767cb /maketgz
parentfb90b43432afcd23b2b519264d38a38e17a3ee57 (diff)
lzma compressed tarballs too for some testing, it does produce MUCH smaller
files
Diffstat (limited to 'maketgz')
-rwxr-xr-xmaketgz17
1 files changed, 12 insertions, 5 deletions
diff --git a/maketgz b/maketgz
index 3ea9bcff7..9e3e37350 100755
--- 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"