bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-18 Thread Stefano Lattarini
tags 10997 + patch close 10997 thanks On 03/17/2012 08:48 AM, Stefano Lattarini wrote: > On 03/12/2012 02:43 PM, Stefano Lattarini wrote: >> On 03/12/2012 12:21 PM, Peter Breitenlohner wrote: >>> >>> To summarize: 'nodist_bin_SCRIPTS =' is an extremely convenient way to >>> ensure that $(bindir) -

bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-17 Thread Stefano Lattarini
On 03/12/2012 02:43 PM, Stefano Lattarini wrote: > On 03/12/2012 12:21 PM, Peter Breitenlohner wrote: >> >> To summarize: 'nodist_bin_SCRIPTS =' is an extremely convenient way to >> ensure that $(bindir) -- or rather $(DESTDIR)$(bindir) -- exists. >> > I agree, and in fact I regard this as a featur

bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-12 Thread Stefano Lattarini
On 03/12/2012 12:21 PM, Peter Breitenlohner wrote: > > Fixing this particular case might be fine, but please watch out. > In the quite similar (unconditional) case > pkglibexec_SCRIPTS = > one might actually expect that that $(pkglibexecdir) is created > unconditionally. > > [SNIP] > > To summar

bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-12 Thread Peter Breitenlohner
On Mon, 12 Mar 2012, Stefano Lattarini wrote: On 03/12/2012 05:55 AM, Daiki Ueno wrote: I got a bug report for my package, which conditionally installs some scripts into pkglibexecdir like this: if ENABLE_FOO pkglibexec_SCRIPTS = bar endif where pkglibexec* is not referred outside of if...end

bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-12 Thread Stefano Lattarini
severity 10997 minor thanks Hi Daiki, thanks for the report. On 03/12/2012 05:55 AM, Daiki Ueno wrote: > I got a bug report for my package, which conditionally installs some > scripts into pkglibexecdir like this: > > if ENABLE_FOO > pkglibexec_SCRIPTS = bar > endif > > where pkglibexec* is not

bug#10997: pkglibexecdir is unconditionally created when make install

2012-03-12 Thread Daiki Ueno
I got a bug report for my package, which conditionally installs some scripts into pkglibexecdir like this: if ENABLE_FOO pkglibexec_SCRIPTS = bar endif where pkglibexec* is not referred outside of if...endif. When "make install", automake creates pkglibexecdir even when ENABLE_FOO is false. I'm