From 1959ca27ec4388541cf15f62df38674d990bbcfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 13 Aug 2012 22:26:58 +0000 Subject: [PATCH] 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] --- v2/build/project.jam | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/v2/build/project.jam b/v2/build/project.jam index 4c3e6858d..88534f6a7 100644 --- a/v2/build/project.jam +++ b/v2/build/project.jam @@ -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) ] ; }