List Info

Thread: conditional in package.install




conditional in package.install
user name
2007-01-02 17:56:50
(Sorry in my previous email, a return was missing.)


Hello, I want to use a <conditional> rule with
package.install in order
to compute a prefix location. I'm getting an error but don't
know what
is wrong, some rule is validating the feature I'm building.

The error is when doing 

bjam install


The Jamroot (also attached) is:

import package ;

exe example : source.c ;

rule get-default-prefix ( props * )
{
  ECHO $(props) ;
  return <install-default-prefix>/tmp/kk ;
}

package.install install
  : <conditional>get-default-prefix
  : example
  : # no libs
  : # no headers
  ;

any idea?

regards,

Jorge
import package ;

exe example : source.c ;

rule get-default-prefix ( props * )
{
  ECHO $(props) ;
  return <install-default-prefix>/tmp/kk ;
}

package.install install
  : <conditional>get-default-prefix
  : example
  : # no libs
  : # no headers
  ;_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
conditional in package.install
user name
2007-01-06 13:36:32
On Tuesday 02 January 2007 20:56, Jorge Suit Perez Ronda
wrote:
> (Sorry in my previous email, a return was missing.)
> 
> 
> Hello, I want to use a <conditional> rule with
package.install in order
> to compute a prefix location. I'm getting an error but
don't know what
> is wrong, some rule is validating the feature I'm
building.

It turns out to be a bug. I've filed it in the tracker:

	
https://zigzag.cs.msu.su:7813/boost.build/ticket/117

but it might take a bit of time before I fix it.

- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )