Re: Removing Mac OS X resource forks from distribution tarballs

2011-04-01 Thread Ralf Wildenhues
* Dave Hart wrote on Thu, Mar 31, 2011 at 08:46:56AM CEST: > Apparently, > there is no command-line switch to disable generation of ._ > psuedofiles in tarballs, but there is an undocumented environment > variable that so modifies tar behavior, > COPY_EXTENDED_ATTRIBUTES_DISABLE=true. For reasons u

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Dave Hart
Hi Ralf, On Thu, Mar 31, 2011 at 05:28 UTC, Ralf Wildenhues wrote: > Hello Dave, > > * Dave Hart wrote on Wed, Mar 30, 2011 at 11:06:02PM CEST: >> Right, one approach would be to run a dist-hook which strips all >> resource forks from distdir files. >> >> An equally effective approach which Automak

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Peter O'Gorman
On 03/31/2011 12:28 AM, Ralf Wildenhues wrote: Hello Dave, * Dave Hart wrote on Wed, Mar 30, 2011 at 11:06:02PM CEST: Right, one approach would be to run a dist-hook which strips all resource forks from distdir files. It's not really about resource forks, Extended Attributes and Access Contr

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Ralf Wildenhues
Hello Dave, * Dave Hart wrote on Wed, Mar 30, 2011 at 11:06:02PM CEST: > Right, one approach would be to run a dist-hook which strips all > resource forks from distdir files. > > An equally effective approach which Automake could potentially handle > generally on Darwin would be to instruct tar t

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Dave Hart
On Wed, Mar 30, 2011 at 20:55 UTC, Adam Mercer wrote: > I thought of something like that but the problem is that these files > only show up on file systems that don't support OS X resource forks, > such as ext3, and as I build the tarballs on OS X they won't show up > as individual. I've been look

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Adam Mercer
On Wed, Mar 30, 2011 at 11:46, Ralf Wildenhues wrote: Ralf >> Is there some rule that I can add that will strip any resource forks >> from files before adding them to the distribution? > > dist-hook: remove-mac-resource-forks > remove-mac-resource-forks: >        rm -f $(DISTDIR)/._* > > ?  I'm

Re: Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Ralf Wildenhues
Hi Adam, * Adam Mercer wrote on Wed, Mar 30, 2011 at 03:50:40PM CEST: > When I build distribution tarballs on my Mac sometimes resource forks > find their way into the tarball and then when they are extracted on > another platform, Debian for example, these resource forks show up as > separate fil

Removing Mac OS X resource forks from distribution tarballs

2011-03-30 Thread Adam Mercer
Hi When I build distribution tarballs on my Mac sometimes resource forks find their way into the tarball and then when they are extracted on another platform, Debian for example, these resource forks show up as separate files of the for ._*, e.g.: ldg-cert-util-2.5/debian# ls -la total 68 drwxr-x