Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-01-05 15:06:16


Author: jurko
Date: 2008-01-05 15:06:15 EST (Sat, 05 Jan 2008)
New Revision: 42495
URL: http://svn.boost.org/trac/boost/changeset/42495

Log:
Cleaned up where the stage module is imported in tools/builtin.jam. Added a missing import in tools/stage.jam that causes errors with the previous fix. Minor stylistic changes in tools/stage.jam.

Text files modified:
   trunk/tools/build/v2/tools/builtin.jam | 4 +---
   trunk/tools/build/v2/tools/stage.jam | 26 +++++++++++++++-----------
   2 files changed, 16 insertions(+), 14 deletions(-)

Modified: trunk/tools/build/v2/tools/builtin.jam
==============================================================================
--- trunk/tools/build/v2/tools/builtin.jam (original)
+++ trunk/tools/build/v2/tools/builtin.jam 2008-01-05 15:06:15 EST (Sat, 05 Jan 2008)
@@ -21,6 +21,7 @@
 import property ;
 import regex ;
 import scanner ;
+import stage ;
 import symlink ;
 import type ;
 import utility ;
@@ -372,9 +373,6 @@
 }
 
 
-import stage ;
-
-
 class c-scanner : scanner
 {
     import path ;

Modified: trunk/tools/build/v2/tools/stage.jam
==============================================================================
--- trunk/tools/build/v2/tools/stage.jam (original)
+++ trunk/tools/build/v2/tools/stage.jam 2008-01-05 15:06:15 EST (Sat, 05 Jan 2008)
@@ -16,14 +16,18 @@
 import project ;
 import virtual-target ;
 import path ;
+import types/register ;
 
-feature.feature <install-dependencies> : off on : incidental ;
-feature.feature <install-type> : : free incidental ;
-feature.feature <install-source-root> : : free path ;
-# If 'on', version symblinks for shared libraries won't be created
-# This feature has effect only on Unix.
+
+feature.feature <install-dependencies> : off on : incidental ;
+feature.feature <install-type> : : free incidental ;
+feature.feature <install-source-root> : : free path ;
+feature.feature <so-version> : : free incidental ;
+
+# If 'on', version symlinks for shared libraries won't be created. Affects Unix
+# builds only.
 feature.feature <install-no-version-symlinks> : on : optional incidental ;
-feature.feature <so-version> : : free incidental ;
+
 
 class install-target-class : basic-target
 {
@@ -339,8 +343,8 @@
 }
 
 
-# Declare installed version of the EXE type. Generator for this type will
-# cause relinking to the new location.
+# Declare installed version of the EXE type. Generator for this type will cause
+# relinking to the new location.
 type.register INSTALLED_EXE : : EXE ;
 
 class installed-exe-generator : generator
@@ -374,8 +378,8 @@
 generators.register [ new installed-exe-generator ] ;
 
 
-# Installing shared link on Unix might cause a creation of
-# versioned symbolic links.
+# Installing a shared link on Unix might cause a creation of versioned symbolic
+# links.
 type.register INSTALLED_SHARED_LIB : : SHARED_LIB ;
 
 class installed-shared-lib-generator : generator
@@ -471,7 +475,7 @@
 generators.register [ new installed-shared-lib-generator ] ;
 
 
-# Main target rule for 'install'
+# Main target rule for 'install'.
 rule install ( name : sources * : requirements * : default-build * )
 {
     local project = [ project.current ] ;


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