From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Adding --bzip2 to make-dist Date: Fri, 17 Aug 2007 01:23:53 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1187306639 16863 80.91.229.12 (16 Aug 2007 23:23:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Aug 2007 23:23:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 17 01:23:56 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILoh1-0007uv-Po for ged-emacs-devel@m.gmane.org; Fri, 17 Aug 2007 01:23:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILoh1-0004CT-8n for ged-emacs-devel@m.gmane.org; Thu, 16 Aug 2007 19:23:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILogx-00047g-E3 for emacs-devel@gnu.org; Thu, 16 Aug 2007 19:23:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILogv-00043J-T8 for emacs-devel@gnu.org; Thu, 16 Aug 2007 19:23:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILogv-000435-P2 for emacs-devel@gnu.org; Thu, 16 Aug 2007 19:23:49 -0400 Original-Received: from smtp-out112.alice.it ([85.37.17.112]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ILogv-0001qo-FP for emacs-devel@gnu.org; Thu, 16 Aug 2007 19:23:49 -0400 Original-Received: from FBCMMO03.fbc.local ([192.168.68.197]) by smtp-out112.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Aug 2007 01:23:21 +0200 Original-Received: from FBCMCL01B06.fbc.local ([192.168.69.87]) by FBCMMO03.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Aug 2007 01:23:21 +0200 Original-Received: from homepc ([87.3.214.227]) by FBCMCL01B06.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 17 Aug 2007 01:23:20 +0200 X-X-Sender: Angelo@homepc X-OriginalArrivalTime: 16 Aug 2007 23:23:21.0070 (UTC) FILETIME=[6F34E8E0:01C7E05C] X-Detected-Kernel: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76651 Archived-At: 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.