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: msg05738/pgp00000.pgp
Description: PGP signature

Reply via email to