all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Adding --bzip2 to make-dist
@ 2007-08-16 23:23 Angelo Graziosi
  0 siblings, 0 replies; only message in thread
From: Angelo Graziosi @ 2007-08-16 23:23 UTC (permalink / raw)
  To: emacs-devel



It would be interesting to have the source tar-ball compressed with bzip2.

Why not to add the option --bzip2, beside --compress, to make-dist?

For example:


--- make-dist.orig	2007-07-26 07:26:01.000000000 +0200
+++ make-dist	2007-08-17 01:05:17.563088000 +0200
@@ -81,6 +81,11 @@
     "--compress")
       default_gzip="compress"
     ;;
+    ## This option tells make-dist to use bzip2' instead of gzip.
+    ## Normally, make-dist uses gzip whenever it is present.
+    "--bzip2")
+      default_gzip="bzip2"
+    ;;

     "--snapshot")
       clean_up=yes
@@ -94,6 +99,7 @@
       echo ""
       echo "  --clean-up	delete staging directories when done"
       echo "  --compress	use compress instead of gzip"
+      echo "  --bzip2           use bzip2 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"
@@ -720,6 +726,7 @@
   fi
   case "${default_gzip}" in
     compress* ) gzip_extension=.Z ;;
+    bzip2* ) gzip_extension=.bz2 ;;
     * )         gzip_extension=.gz ;;
   esac
   echo "Creating tar file"



Regards,

   Angelo.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-16 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 23:23 Adding --bzip2 to make-dist Angelo Graziosi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.