aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Francoise <[email protected]>2008-01-05 13:26:33 +0000
committerRomain Francoise <[email protected]>2008-01-05 13:26:33 +0000
commit37d6e31370557ab868033dde113f11b54994e576 (patch)
tree7f275ab8eee483fa311223b2152db237c915e792
parentd35e1cd725b4e9512d54a8e642ad82f50d584edd (diff)
Add --bzip2. Update copyright.
-rw-r--r--ChangeLog4
-rwxr-xr-xmake-dist8
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a2d865e2e..98b6837e73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-05 Romain Francoise <[email protected]>
+
+ * make-dist: Add --bzip2. Update copyright.
+
2008-01-05 Dan Nicolaescu <[email protected]>
* configure.in: Remove support for Masscomp.
diff --git a/make-dist b/make-dist
index 64e0bf27e1..26fb5b31da 100755
--- a/make-dist
+++ b/make-dist
@@ -7,7 +7,7 @@
#### you should make sure that this script will include it.
# Copyright (C) 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
-# 2006, 2007 Free Software Foundation, Inc.
+# 2006, 2007, 2008 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#
@@ -81,6 +81,10 @@ while [ $# -gt 0 ]; do
"--compress")
default_gzip="compress"
;;
+ ## Same with bzip2.
+ "--bzip2")
+ default_gzip="bzip2"
+ ;;
"--snapshot")
clean_up=yes
@@ -92,6 +96,7 @@ while [ $# -gt 0 ]; do
"--help")
echo "Usage: ${progname} [options]"
echo ""
+ echo " --bzip2 use bzip2 instead of gzip"
echo " --clean-up delete staging directories when done"
echo " --compress use compress instead of gzip"
echo " --newer=TIME don't include files older than TIME"
@@ -743,6 +748,7 @@ if [ "${make_tar}" = yes ]; then
)`
fi
case "${default_gzip}" in
+ bzip2) gzip_extension=.bz2 ;;
compress* ) gzip_extension=.Z ;;
* ) gzip_extension=.gz ;;
esac