Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52322 - trunk
From: ghost_at_[hidden]
Date: 2009-04-11 04:08:39


Author: vladimir_prus
Date: 2009-04-11 04:08:37 EDT (Sat, 11 Apr 2009)
New Revision: 52322
URL: http://svn.boost.org/trac/boost/changeset/52322

Log:
Build stage by default and explain where the libraries are put.

Text files modified:
   trunk/Jamroot | 20 ++++++++++++++++++++
   1 files changed, 20 insertions(+), 0 deletions(-)

Modified: trunk/Jamroot
==============================================================================
--- trunk/Jamroot (original)
+++ trunk/Jamroot 2009-04-11 04:08:37 EDT (Sat, 11 Apr 2009)
@@ -582,6 +582,26 @@
 explicit install ;
 explicit stage ;
 
+stage-abs = [ path.native [ path.root $(stage-locate)/lib [ path.pwd ] ] ] ;
+
+# This target is built by default, and will forward to 'stage'
+# after producing some explanations.
+alias forward : explain stage ;
+message explain :
+"\nBuilding C++ Boost.
+
+After the build, the headers will be located at
+
+ $(BOOST_ROOT)
+
+The libraries will be located at
+
+ $(stage-abs)
+
+Use 'bjam install --prefix=<path>' if you wish to install headers and
+libraries to a different location and remove the source tree.\n\n"
+ ;
+
 
 # Just build the libraries, don't install them anywhere. This is what happens
 # with just "bjam --v2".


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