Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24641/tools/build/v2/tools

Modified Files:
        package.jam 
Log Message:
Fix a variety of differences in the install process between BBv1 and BBv2... 
versioned subdir for the headers; stage libs only; default built variants, 
version tag.

Index: package.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/package.jam,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- package.jam 10 Apr 2006 07:30:23 -0000      1.2
+++ package.jam 2 Jul 2006 22:23:43 -0000       1.3
@@ -39,14 +39,19 @@
 
 rule install ( name : requirements * : binaries * : libraries * : headers * )
 {
-    local install-source-root = [ property.select <install-source-root> 
-        : $(requirements) ] ;
     # If <install-source-root> is not specified, all headers are installed
     # to prefix/include, no matter what their relative path is. Sometimes
     # that's what needed.
-        
+    local install-source-root
+        = [ property.select <install-source-root> : $(requirements) ] ;
     requirements = [ property.change $(requirements) : <install-source-root> ] 
;
     
+    #
+    local install-header-subdir
+        = [ property.select <install-header-subdir> : $(requirements) ] ;
+    install-header-subdir = /$(install-header-subdir:G=) ;
+    install-header-subdir ?= "" ;
+    requirements = [ property.change $(requirements) : <install-header-subdir> 
] ;
     
     # First, figure out all locations.
     local prefix = [ option.get prefix : "" ] ;
@@ -77,7 +82,8 @@
           <install-dependencies>on <install-type>LIB 
         ;
     stage.install $(name)-headers : $(headers) : $(requirements) 
-      <location>$(include-locate) <install-source-root>$(install-source-root) ;
+      <location>$(include-locate)$(install-header-subdir)
+      <install-source-root>$(install-source-root) ;
     alias $(name) : $(name)-bin $(name)-lib $(name)-headers ;
     
     local c = [ project.current ] ;


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to