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

Ouch, my last 'make' changes broke setting flags on module.

[SVN r32725]
This commit is contained in:
Vladimir Prus
2006-02-08 09:43:59 +00:00
parent e3598c27fd
commit 3f5b1318c7

View File

@@ -87,9 +87,14 @@ rule flags ( rule-or-module # If contains dot, should be a rule name.
{
local caller = [ CALLER_MODULE ] ;
if ! [ MATCH ".*([.]).*" : $(rule-or-module) ]
&& [ MATCH "(Jamfile<.*)" : $(caller) ]
{
# Unqualified rule name, qualify
# Unqualified rule name, used inside Jamfile.
# (most likely used with 'make' or 'notfile' rules.
# This prevents setting flags on entire Jamfile module
# (this will be considered as rule), but who cares?
# Probably, 'flags' rule should be split into 'flags' and
# 'flags-on-module'.
rule-or-module = $(caller).$(rule-or-module) ;
}
else