Klaus Nowikow wrote:
> Vladimir Prus wrote:
>> On Friday 07 July 2006 17:21, Klaus Nowikow wrote:
>>> I am trying to create a customized install rule
- package.install
>>> does not fit my needs. So I copied
package.install and changed it
>>> to what I need. The problem is that my rule
does not work with
>>> 'explicit' - it is called every time I
perform a build.
>> ...
> [...]
I think found the problem:
My original install rule was like this:
rule install ( name : root : requirements * )
{
stage.install $(name)-root : $(root) : $(requirements)
;
alias $(name) : $(name)-root ;
local c = [ project.current ] ;
local project-module = [ $(c).project-module ] ;
module $(project-module)
{
explicit $(name)-root ; # error
# ^^^^ here is the problem
}
}
When I change the line marked with # error to
explicit $(1)-root ;
the everything works as expected. Seems to be that the
$(name)
variable is out of scope there.
--
Klaus
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|