mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Make it possible to specify rule name with '@' prefix to the 'make' rule,
just like for 'notfile' rule. Using rule name without '@' still works for backward compatibility. [SVN r33632]
This commit is contained in:
@@ -47,7 +47,12 @@ rule make ( target-name : sources * : generating-rule + : requirements * )
|
||||
|
||||
# The '@' sign causes the feature.jam module to qualify rule name
|
||||
# with the module name of current project, if needed.
|
||||
requirements += <action>@$(generating-rule) ;
|
||||
local m = [ MATCH ^(@).* : $(generating-rule) ] ;
|
||||
if ! $(m)
|
||||
{
|
||||
generating-rule = @$(generating-rule) ;
|
||||
}
|
||||
requirements += <action>$(generating-rule) ;
|
||||
|
||||
targets.main-target-alternative
|
||||
[ new make-target-class $(target-name) : $(project)
|
||||
|
||||
Reference in New Issue
Block a user