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

Boost Build cleanup - project.register-id no longer local (used for registering an additional project id with a project module). The rule is now cleanly implemented with a clean interface that might be useful outside this module (planned to be used in the upcoming tools/doxygen.jam modifications).

[SVN r80015]
This commit is contained in:
Jurko Gospodnetić
2012-08-13 22:26:58 +00:00
parent 480bd8e672
commit 1959ca27ec

View File

@@ -584,7 +584,7 @@ rule is-registered-id ( id )
# Associate the given id with the given project module. Returns the possibly
# corrected project id.
#
local rule register-id ( id : module )
rule register-id ( id : module )
{
id = [ path.root $(id) / ] ;
@@ -722,9 +722,6 @@ class project-attributes
}
else if $(attribute) = "id"
{
# project.register-id() is a local rule so we need to import it
# explicitly.
IMPORT project : register-id : $(__name__) : project.register-id ;
self.id = [ project.register-id $(specification) :
$(self.project-module) ] ;
}