Re: bug#13324: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-03 Thread Stefano Lattarini
On 01/03/2013 01:57 AM, Karl Berry wrote: > OTOH, what about distribution "tarballs" in '.zip' format? They don't > use tar at all ... Time to deprecate them maybe? Is anybody actually > using them? And while at it, what about the even more obscure 'shar' > format? > > FWIW, I

Re: bug#13324: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-03 Thread Stefano Lattarini
On 01/03/2013 01:57 AM, Karl Berry wrote: > That is already possible: > > > I see. Given this, I propose merely changing the definition of am__tar > to use variables. Something like: > > am__tar = $(TAR) $(TAR_OPT

Re: bug#13324: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-03 Thread Stefano Lattarini
On 01/03/2013 01:57 AM, Karl Berry wrote: > > that every tar (except maybe really ancient ones, can't remember, but we > > don't care) supports the -style. > > It would be nice to verify this claim on as much systems as possible > > Certainly POSIX has always required supporting -option

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-02 Thread Karl Berry
OTOH, what about distribution "tarballs" in '.zip' format? They don't use tar at all ... Time to deprecate them maybe? Is anybody actually using them? And while at it, what about the even more obscure 'shar' format? FWIW, I think they should still be supported. I see recent di

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-02 Thread Karl Berry
That is already possible: I see. Given this, I propose merely changing the definition of am__tar to use variables. Something like: am__tar = $(TAR) $(TAR_OPTIONS) - "$$tardir" where the actual definitions of TAR

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-02 Thread Karl Berry
> that every tar (except maybe really ancient ones, can't remember, but we > don't care) supports the -style. It would be nice to verify this claim on as much systems as possible Certainly POSIX has always required supporting -options, which is some 15 years old at least. Or do I mea

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-01 Thread Bob Friesenhahn
On Tue, 1 Jan 2013, Daniel Herring wrote: On Tue, 1 Jan 2013, Stefano Lattarini wrote: OTOH, what about distribution "tarballs" in '.zip' format? They don't use tar at all ... Time to deprecate them maybe? Is anybody actually using them? And while at it, what about the even more obscure 's

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-01 Thread Daniel Herring
On Tue, 1 Jan 2013, Stefano Lattarini wrote: OTOH, what about distribution "tarballs" in '.zip' format? They don't use tar at all ... Time to deprecate them maybe? Is anybody actually using them? And while at it, what about the even more obscure 'shar' format? While I haven't manipulated a

Re: Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2013-01-01 Thread Bob Friesenhahn
On Tue, 1 Jan 2013, Stefano Lattarini wrote: I don't propose any major surgery to make it work in every conceivable circumstance. All that is really necessary is to provide a way to pass --exclude-vcs to tar. It would only work with GNU tar, but that is ok. In GraphicsMagick I use find+cpio

Improvements to "dist" targets (was: Re: EXTRA_DIST, directories, tar --exclude-vcs)

2012-12-31 Thread Stefano Lattarini
Severity: wishlist Hi Karl. I'm adding bug-automake in CC, so that this discussion will remain visible and archived in a singe place, and we won't forget about the issue. On 01/01/2013 01:38 AM, Karl Berry wrote: > Stefano and all, > > It would be nice to able to list directories in EXTRA_DIST.

EXTRA_DIST, directories, tar --exclude-vcs

2012-12-31 Thread Karl Berry
Stefano and all, It would be nice to able to list directories in EXTRA_DIST. It is painful and unnecessary overhead to list every file in a contrib directory individually just to avoid including VC files. (As explained at http://www.gnu.org/software/automake/manual/automake.html#Basics-of-Distri