Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-08-24 22:58:17


Author: jurko
Date: 2008-08-24 22:58:17 EDT (Sun, 24 Aug 2008)
New Revision: 48367
URL: http://svn.boost.org/trac/boost/changeset/48367

Log:
Minor stylistic alias.jam Boost Build module changes.
Text files modified:
   trunk/tools/build/v2/build/alias.jam | 15 ++++++++-------
   1 files changed, 8 insertions(+), 7 deletions(-)

Modified: trunk/tools/build/v2/build/alias.jam
==============================================================================
--- trunk/tools/build/v2/build/alias.jam (original)
+++ trunk/tools/build/v2/build/alias.jam 2008-08-24 22:58:17 EDT (Sun, 24 Aug 2008)
@@ -33,8 +33,8 @@
     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 )
@@ -45,14 +45,13 @@
     rule compute-usage-requirements ( subvariant )
     {
         local base = [ basic-target.compute-usage-requirements $(subvariant) ] ;
- # Add source's usage requirement. If we don't do this, "alias" does not
- # look like a 100% alias.
         return [ $(base).add [ $(subvariant).sources-usage-requirements ] ] ;
     }
 }
 
 
-# Declares the 'alias' target. It will build sources, and return them unaltered.
+# Declares the 'alias' target. It will process its sources virtual-targets by
+# returning them unaltered as its own constructed virtual-targets.
 #
 rule alias ( name : sources * : requirements * : default-build * :
     usage-requirements * )
@@ -63,8 +62,10 @@
         [ new alias-target-class $(name) : $(project)
             : [ targets.main-target-sources $(sources) : $(name) : no-renaming ]
             : [ targets.main-target-requirements $(requirements) : $(project) ]
- : [ targets.main-target-default-build $(default-build) : $(project) ]
- : [ targets.main-target-usage-requirements $(usage-requirements) : $(project) ]
+ : [ targets.main-target-default-build $(default-build) : $(project)
+ ]
+ : [ targets.main-target-usage-requirements $(usage-requirements) :
+ $(project) ]
         ] ;
 }
 


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