Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56035 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2009-09-05 08:07:36


Author: vladimir_prus
Date: 2009-09-05 08:07:35 EDT (Sat, 05 Sep 2009)
New Revision: 56035
URL: http://svn.boost.org/trac/boost/changeset/56035

Log:
Rever formatting changes from 48367
Text files modified:
   trunk/tools/build/v2/build/alias.jam | 15 +++++++--------
   1 files changed, 7 insertions(+), 8 deletions(-)

Modified: trunk/tools/build/v2/build/alias.jam
==============================================================================
--- trunk/tools/build/v2/build/alias.jam (original)
+++ trunk/tools/build/v2/build/alias.jam 2009-09-05 08:07:35 EDT (Sat, 05 Sep 2009)
@@ -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,13 +45,14 @@
     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 process its sources virtual-targets by
-# returning them unaltered as its own constructed virtual-targets.
+# Declares the 'alias' target. It will build sources, and return them unaltered.
 #
 rule alias ( name : sources * : requirements * : default-build * :
     usage-requirements * )
@@ -62,10 +63,8 @@
         [ 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