[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 11:52:47 +0100
severity 10997 minor
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
> where pkglibexec* is not referred outside of if...endif. When "make
> install", automake creates pkglibexecdir even when ENABLE_FOO is false.
> I'm attaching a prove which demonstrates the behavior.
I agree it would be nice to avoid creating directories that are not actually
needed; still, this is a low-priority bug, and I'm not yet sure how difficult
it would be to fix. For the moment, I've committed (in your name) the test
case you've sent us (with minor tweakings), so that the bug will at least
remain exposed in the testsuite. Attached is the patch I've pushed (to maint).
Description: Text Data
- Re: bug#10997: pkglibexecdir is unconditionally created when make install,
Stefano Lattarini <=