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

Re: %{expand:...} documentation




On Aug 27, 2007, at 3:08 PM, Jos Vos wrote:

On Mon, Aug 27, 2007 at 02:59:08PM -0400, Jeff Johnson wrote:

I think this is an example of proper use (as there is a recursion),
right?

%{expand: %%define _includedir %{_includedir}/%{name}}

In this case, it really doesn't matter how often "%{_includedir}/%
{name}" is
expanded. Well, it _MAY_matter if the value of %{name} is changing,
but I doubt you can really solve the problem of, say, %{name} possibly
changing
meaningfully by using %{expand:...}.

Uhh... now I'm confused.  I tried:


No I missed the recursive expansion. Yes, %{expand:...} needs to be used,
or the recursion needs to be avoided somehow.

73 de Jeff


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