changeset 87782:4bd338a986f8

Sven Joachim <svenjoac at gmx.de> Add --lzma.
author Glenn Morris <rgm@gnu.org>
date Wed, 16 Jan 2008 04:33:23 +0000
parents 6d337d3f0404
children 98770e92b2d6
files make-dist
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make-dist	Wed Jan 16 04:13:44 2008 +0000
+++ b/make-dist	Wed Jan 16 04:33:23 2008 +0000
@@ -85,6 +85,10 @@
     "--bzip2")
       default_gzip="bzip2"
     ;;
+    ## Same with lzma.
+    "--lzma")
+      default_gzip="lzma"
+    ;;
 
     "--snapshot")
       clean_up=yes
@@ -99,6 +103,7 @@
       echo "  --bzip2		use bzip2 instead of gzip"
       echo "  --clean-up	delete staging directories when done"
       echo "  --compress	use compress instead of gzip"
+      echo "  --lzma		use lzma instead of gzip"
       echo "  --newer=TIME	don't include files older than TIME"
       echo "  --no-check	don't check for bad file names etc."
       echo "  --no-update	don't recompile or do analogous things"
@@ -750,6 +755,7 @@
   case "${default_gzip}" in
     bzip2)      gzip_extension=.bz2 ;;
     compress* ) gzip_extension=.Z ;;
+    lzma)       gzip_extension=.lzma ;;
     * )         gzip_extension=.gz ;;
   esac
   echo "Creating tar file"