bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10997: pkglibexecdir is unconditionally created when make install


From: Stefano Lattarini
Subject: bug#10997: pkglibexecdir is unconditionally created when make install
Date: 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
> unconditionally.
>
> [SNIP]
> 
> 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).

Thanks,
  Stefano

Attachment: 0001-coverage-an-empty-foo_PRIMARY-should-create-director.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]