[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#10997: pkglibexecdir is unconditionally created when make instal
Re: bug#10997: pkglibexecdir is unconditionally created when make install
Mon, 12 Mar 2012 14:43:39 +0100
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
> 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 feature (which automake has been known
to use in its own build system for some time).
But I see (with a simple "grep 'test -d' tests/*" command) that this behaviour
wasn't covered by our testsuite. I've thus added a new test to ensure we don't
unwittingly break this feature (see attached patch, pushed to maint).
Description: Text Data