Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-03-14 23:16:04


Author: grafik
Date: 2008-03-14 23:16:04 EDT (Fri, 14 Mar 2008)
New Revision: 43611
URL: http://svn.boost.org/trac/boost/changeset/43611

Log:
Fix empty generated file content when generating files in subdirs.
Text files modified:
   sandbox/tools/build_extensions/ext/extension.jam | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/tools/build_extensions/ext/extension.jam
==============================================================================
--- sandbox/tools/build_extensions/ext/extension.jam (original)
+++ sandbox/tools/build_extensions/ext/extension.jam 2008-03-14 23:16:04 EDT (Fri, 14 Mar 2008)
@@ -237,6 +237,7 @@
     : requirements * : usage-requirements * )
 {
     local mod = [ CALLER_MODULE ] ;
+ name = [ path.make $(name) ] ;
     .format,$(extension),$(version),$(name) = $(format) ;
     module $(mod)
     {
@@ -259,7 +260,8 @@
     local NL = "
 " ;
     local text = ;
- local format = $(.format,$(ext:G=),$(version:G=),$(targets[1]:G=)) ;
+ local name = [ path.make $(targets[1]:G=) ] ;
+ local format = $(.format,$(ext:G=),$(version:G=),$(name)) ;
     for local f in $(format)
     {
         if $(f:G)


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