2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Restore file-referece.location method.

[SVN r34032]
This commit is contained in:
Vladimir Prus
2006-05-19 13:38:57 +00:00
parent c6187cb58e
commit a77fb5f38d

View File

@@ -791,7 +791,7 @@ class file-reference : abstract-target
rule generate ( properties )
{
compute-location ;
location ;
return [ property-set.empty ]
[ virtual-target.from-file $(self.name)
: $(self.file-location)
@@ -801,12 +801,12 @@ class file-reference : abstract-target
# Returns true if the referred file really exists;
rule exists ( )
{
compute-location ;
location ;
return $(self.file-path) ;
}
# Returns the location of target. Needed by 'testing.jam'
rule compute-location ( )
rule location ( )
{
if ! $(self.file-location)
{