|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r48626 - trunk/tools/build/v2/tools
From: jurko.gospodnetic_at_[hidden]
Date: 2008-09-05 22:46:14
Author: jurko
Date: 2008-09-05 22:46:14 EDT (Fri, 05 Sep 2008)
New Revision: 48626
URL: http://svn.boost.org/trac/boost/changeset/48626
Log:
Minor stylistic changes made to the Boost Build tools/make.jam module.
Text files modified:
trunk/tools/build/v2/tools/make.jam | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
Modified: trunk/tools/build/v2/tools/make.jam
==============================================================================
--- trunk/tools/build/v2/tools/make.jam (original)
+++ trunk/tools/build/v2/tools/make.jam 2008-09-05 22:46:14 EDT (Fri, 05 Sep 2008)
@@ -25,19 +25,20 @@
rule __init__ ( name : project : sources * : requirements *
: default-build * : usage-requirements * )
{
- basic-target.__init__ $(name) : $(project) : $(sources)
- : $(requirements) : $(default-build) : $(usage-requirements) ;
+ basic-target.__init__ $(name) : $(project) : $(sources) :
+ $(requirements) : $(default-build) : $(usage-requirements) ;
}
rule construct ( name : source-targets * : property-set )
{
local action-name = [ $(property-set).get <action> ] ;
- # 'm' will always be set -- we add '@' ourselves in 'make' rule below.
+ # 'm' will always be set -- we add '@' ourselves in the 'make' rule
+ # below.
local m = [ MATCH ^@(.*) : $(action-name) ] ;
local a = [ new action $(source-targets) : $(m[1]) : $(property-set) ] ;
- local t = [ new file-target $(self.name) exact
- : [ type.type $(self.name) ] : $(self.project) : $(a) ] ;
+ local t = [ new file-target $(self.name) exact : [ type.type
+ $(self.name) ] : $(self.project) : $(a) ] ;
return [ property-set.empty ] [ virtual-target.register $(t) ] ;
}
}
@@ -45,8 +46,8 @@
# Declares the 'make' main target.
#
-rule make ( target-name : sources * : generating-rule + : requirements *
- : usage-requirements * )
+rule make ( target-name : sources * : generating-rule + : requirements * :
+ usage-requirements * )
{
local project = [ project.current ] ;
@@ -64,8 +65,9 @@
: [ targets.main-target-sources $(sources) : $(target-name) ]
: [ targets.main-target-requirements $(requirements) : $(project) ]
: [ targets.main-target-default-build : $(project) ]
- : [ targets.main-target-usage-requirements $(usage-requirements) : $(project) ]
- ] ;
+ : [ targets.main-target-usage-requirements $(usage-requirements) :
+ $(project) ] ] ;
}
+
IMPORT $(__name__) : make : : make ;
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