Unbreak notfile targets and gettext message catalog update.

* build/virtual-target.jam
  (abstract-file-target.grist): Handle the case where property list is empty.
  (notfile-target.path): New rule.


[SVN r26102]
This commit is contained in:
Vladimir Prus 2004-11-03 09:29:35 +00:00
parent 1ea56cea6c
commit b513faf988

View File

@ -395,7 +395,12 @@ class abstract-file-target : virtual-target
{
local ps = [ $(self.action).properties ] ;
local property-grist = [ $(ps).as-path ] ;
location-grist = $(location-grist)/$(property-grist) ;
# 'property-grist' can be empty when 'ps' is an empty
# property set.
if $(property-grist)
{
location-grist = $(location-grist)/$(property-grist) ;
}
}
return l$(location-grist) ;
@ -518,6 +523,11 @@ class notfile-target : abstract-file-target
abstract-file-target.__init__ $(name) : : $(project) ;
}
# Returns nothing, to indicate that target path is not known.
rule path ( )
{
return ;
}
rule actualize-location ( target )
{