all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <Angelo.Graziosi@roma1.infn.it>
To: emacs-devel@gnu.org
Subject: Adding --bzip2 to make-dist
Date: Fri, 17 Aug 2007 01:23:53 +0200	[thread overview]
Message-ID: <Pine.CYG.4.58.0708170118090.3196@homepc> (raw)



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.

                 reply	other threads:[~2007-08-16 23:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.CYG.4.58.0708170118090.3196@homepc \
    --to=angelo.graziosi@roma1.infn.it \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.