|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80015 - trunk/tools/build/v2/build
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-13 18:26:59
Author: jurko
Date: 2012-08-13 18:26:58 EDT (Mon, 13 Aug 2012)
New Revision: 80015
URL: http://svn.boost.org/trac/boost/changeset/80015
Log:
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).
Text files modified:
trunk/tools/build/v2/build/project.jam | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
Modified: trunk/tools/build/v2/build/project.jam
==============================================================================
--- trunk/tools/build/v2/build/project.jam (original)
+++ trunk/tools/build/v2/build/project.jam 2012-08-13 18:26:58 EDT (Mon, 13 Aug 2012)
@@ -584,7 +584,7 @@
# 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 @@
}
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) ] ;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk