diff make-dist @ 87594:3d7ab5b38c54

Add --bzip2. Update copyright.
author Romain Francoise <romain@orebokech.com>
date Sat, 05 Jan 2008 13:26:33 +0000
parents 4424409d4223
children 4bd338a986f8 606f2d163a64
line wrap: on
line diff
--- a/make-dist	Sat Jan 05 11:14:48 2008 +0000
+++ b/make-dist	Sat Jan 05 13:26:33 2008 +0000
@@ -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 @@
     "--compress")
       default_gzip="compress"
     ;;
+    ## Same with bzip2.
+    "--bzip2")
+      default_gzip="bzip2"
+    ;;
 
     "--snapshot")
       clean_up=yes
@@ -92,6 +96,7 @@
     "--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 @@
     )`
   fi
   case "${default_gzip}" in
+    bzip2)      gzip_extension=.bz2 ;;
     compress* ) gzip_extension=.Z ;;
     * )         gzip_extension=.gz ;;
   esac