Re: Setting environment variable for make dist

2015-05-19 Thread Bas Vodde
Hi Nick, Ok, thanks. I don’t know the side-effects of the COPYFILE_DISABLE flag, so I prefer not to use it other than make dist. Good to see the open bug report and hope it’ll be fixed sometime in the future. In the mean time, I decided to write some code in the dist-hook to check if the env

Re: Setting environment variable for make dist

2015-05-19 Thread Nick Bowler
Hello, On 2015-05-18 16:10 +0800, Bas Vodde wrote: > On 14 May 2015, at 9:24 pm, Nick Bowler wrote: > > But I think there is a solution: we can (ab)use the fact that 'make dist' > > internally performs a recursive make invocation. This gives us the chance > > to add things to the make command li

Re: Setting environment variable for make dist

2015-05-18 Thread Bas Vodde
Hi Nick, Thanks for that. I thought about it a bit and guess that this would *always* define the COPYFILE_DISABLE=1. That is, not just in “make dist” but also in other targets, correct? I think that isn’t what I want as I don’t want to go too much against the filesystem defaults, to avoid po

Re: Setting environment variable for make dist

2015-05-14 Thread Nick Bowler
Hello, On 2015-05-10 12:57 +, Bas Vodde wrote: > I'm trying to change my projects configure.ac so that it sets the > COPYFILE_DISABLE=1 environment variable to influence the make dist > target. > > Background: The COPYFILE_DISABLE=1 avoids having a second top-level > directory in your package

Re: Setting environment variable for make dist

2015-05-10 Thread Bas Vodde
Hi Gavin, Related to why the variable must be set, check this stack overflow article: http://superuser.com/questions/61185/why-do-i-get-files-like-foo-in-my-tarball-on-os-x The Mac filesystem created a hidden file that causes problems when packaging a release. I guess, autotools should actuall

Re: Setting environment variable for make dist

2015-05-10 Thread Gavin Smith
On 10 May 2015 at 13:57, Bas Vodde wrote: > I'm trying to change my projects configure.ac so that it sets the > COPYFILE_DISABLE=1 environment variable to influence the make dist target. What running program needs to have this environment variable set in its environment? Is it the shells that are

Setting environment variable for make dist

2015-05-10 Thread Bas Vodde
Hi all, I'm trying to change my projects configure.ac so that it sets the COPYFILE_DISABLE=1 environment variable to influence the make dist target. Background: The COPYFILE_DISABLE=1 avoids having a second top-level directory in your package when packaging on MacOSX. So far, my attempt was to