automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option no-gzip


From: Robert Collins
Subject: Re: Option no-gzip
Date: 29 Jul 2002 13:18:23 +1000

On Mon, 2002-07-29 at 13:14, Bruce Korb wrote:
> Robert Collins wrote:
> > 
> > On Sat, 2002-07-27 at 02:25, Bruce Korb wrote:
> > > Akim Demaille wrote:
> > > >
> > > > Would that be accepted?  For some of my projects, I don't need nor
> > > > want the .gz, I just want the .bz2.
> > >
> > > If you are going to parameterize it at all, then parameterize it
> > > completely.  e.g.  --compressor=bzip2 [ --compression-suffix=bz2 ]
> > > except there would be a table of defaults for the suffix:
> > 
> > I like this idea. One tweak:
> > pluralise the command:
> > --compressors=bzip2,gzip[,...]
> 
> Meaning you would produce more than one tarball?
> Such an option would need something more explicit.
> e.g. "make bzip2-dist gzip-dist ..."

Why? I am suggesting that 
make dist
create one tarball for each compressor it has been told about. 

It seems to me that if you want individual targets, they *could* be
created, but that the most common option will be to want a set number of
tarballs, and to build them all at one time.

This means:
build dist tree
compress with compressor 1
compress with compressor 2
clean dist tree

as opposed to the current (or last I checked closely)
build dist tree
compress with gz
clean dist tree
build dist tree
compress with bz2
clean dist tree

which is less efficient than it could be.

Rob

Attachment: pgpGZ7ICybXVb.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]