Boost logo

Boost-Commit :

From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-08 17:58:34


Author: jurko
Date: 2008-06-08 17:58:33 EDT (Sun, 08 Jun 2008)
New Revision: 46259
URL: http://svn.boost.org/trac/boost/changeset/46259

Log:
Reverting Boost Build's stage.jam module changes made by accident in the last revision.
Text files modified:
   trunk/tools/build/v2/tools/stage.jam | 35 +----------------------------------
   1 files changed, 1 insertions(+), 34 deletions(-)

Modified: trunk/tools/build/v2/tools/stage.jam
==============================================================================
--- trunk/tools/build/v2/tools/stage.jam (original)
+++ trunk/tools/build/v2/tools/stage.jam 2008-06-08 17:58:33 EDT (Sun, 08 Jun 2008)
@@ -22,14 +22,6 @@
 feature.feature <install-dependencies> : off on : incidental ;
 feature.feature <install-type> : : free incidental ;
 feature.feature <install-source-root> : : free path ;
-# <install-target-root> must not be a path feature since it always specifies a
-# path relative to the install action's <location> property and not the Jamfile.
-# TODO: We should find a way to make this feature be converted to the internal
-# path format when specified from the outside as a command line parameter but be
-# interpreted as already being in internal path format when read from the
-# Jamfile. However, unlike 'path' features these values should not be rebased to
-# point to their target relative to the Jamfile location.
-feature.feature <install-target-root> : : free ;
 feature.feature <so-version> : : free incidental ;
 
 # If 'on', version symlinks for shared libraries will not be created. Affects
@@ -125,30 +117,6 @@
             ps-raw += $(d:G=<install-source-root>) ;
         }
 
- local d = [ $(build-property-set).get <install-target-root> ] ;
- if $(d)
- {
- # We need to manually convert the <install-target-root> property
- # value into internal Boost Build path representation since its
- # feature does not represent a path relative to the project's
- # Jamfile and so could not be marked with the 'path' attribute.
- d = [ path.make $(d) ] ;
- if [ path.is-rooted $(d) ]
- {
- local error-message =
- "The <install-target-root> property must specify a relative"
- "and not an absolute path. That is the path prepended to"
- "all target names installed with this property." ;
- if ! ( "--debug-building" in [ modules.peek : ARGV ] )
- {
- error-message += "Use the --debug-building command line"
- "option to get more detailed information." ;
- }
- errors.user-error $(error-message) ;
- }
- }
- ps-raw += $(d:G=<install-target-root>) ;
-
         if $(ps-raw)
         {
             return [ property-set.create $(ps-raw) ] ;
@@ -322,7 +290,6 @@
 
     local new-a = [ new non-scanning-action $(source) : common.copy :
         $(properties) ] ;
- local target-root = [ $(properties).get <install-target-root> ] ;
     local source-root = [ $(properties).get <install-source-root> ] ;
     if $(source-root)
     {
@@ -342,7 +309,7 @@
     # need to explicitly check that relative is not ".", otherwise we might get
     # paths like '<prefix>/boost/.', try to create it and mkdir would obviously
     # fail.
- name = [ path.join $(target-root) $(relative) $(name:D=) ] ;
+ name = [ path.join $(relative) $(name:D=) ] ;
 
     return [ new file-target $(name) exact : [ $(source).type ] : $(project) :
         $(new-a) ] ;


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