summaryrefslogtreecommitdiff
path: root/make-dist
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-01-16 04:33:23 +0000
committerGlenn Morris <rgm@gnu.org>2008-01-16 04:33:23 +0000
commitb7dd644e59d937c5886b018b7f2ef81cbd367330 (patch)
tree35b1b71e5b9decad6e97c455da04bc4cd3f73707 /make-dist
parent3f204ae5eedd06897650a53f5e9df4f9cb97e207 (diff)
downloademacs-b7dd644e59d937c5886b018b7f2ef81cbd367330.tar.gz
Sven Joachim <svenjoac at gmx.de>
Add --lzma.
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist6
1 files changed, 6 insertions, 0 deletions
diff --git a/make-dist b/make-dist
index 26fb5b31daf..305112ed153 100755
--- a/make-dist
+++ b/make-dist
@@ -85,6 +85,10 @@ while [ $# -gt 0 ]; do
"--bzip2")
default_gzip="bzip2"
;;
+ ## Same with lzma.
+ "--lzma")
+ default_gzip="lzma"
+ ;;
"--snapshot")
clean_up=yes
@@ -99,6 +103,7 @@ while [ $# -gt 0 ]; do
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 @@ if [ "${make_tar}" = yes ]; then
case "${default_gzip}" in
bzip2) gzip_extension=.bz2 ;;
compress* ) gzip_extension=.Z ;;
+ lzma) gzip_extension=.lzma ;;
* ) gzip_extension=.gz ;;
esac
echo "Creating tar file"