bug-automake
[Top][All Lists]
Advanced

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

Re: conditional install dirs vs. mkdir_p


From: Ralf Corsepius
Subject: Re: conditional install dirs vs. mkdir_p
Date: Fri, 09 Jan 2004 11:18:54 +0100

On Fri, 2004-01-09 at 09:37, Alexandre Duret-Lutz wrote:
> >>> "Ralf" == Ralf Corsepius <address@hidden> writes:
> 
> [...]
> 
>  >> I'm installing the following patch on HEAD and branch-1-8.
> 
>  Ralf> This patch seems to remedy the problem above, but there
>  Ralf> seems to be more:
> [...]
>  Ralf> => automake tries to create the directory, though it is not used.
> 
>  Ralf> This only happens if using include_HEADERS, but doesn't happen with my 
> 1
>  Ralf> example (include_foo_HEADERS). 
FWIW: Unlike the issue the 1st example (which is a regression against
1.7.x), this problem also happens with automake-1.7.9.

>  Ralf> Wouldn't rewriting the installation rules into something similar to
>  Ralf> this:
>  Ralf> if test x'$(xxx_HEADERS)' != x; then mkdir $xxxdir; \
>  Ralf> list='$(xxx_HEADERS)'; for i in $$list; do \
>  Ralf> [..]
>  Ralf> fi
>  Ralf> help?
> 
> What do you thing of the suggestion I added to the top of TODO
> with the previous patch?  (I.e, call install rules conditionally.)

I don't know what is be required to implement this, but I think this is
what I actually need.

Ralf






reply via email to

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