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: Alexandre Duret-Lutz
Subject: Re: conditional install dirs vs. mkdir_p
Date: Fri, 09 Jan 2004 09:37:48 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "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). 

 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.)
-- 
Alexandre Duret-Lutz





reply via email to

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