Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74233 - sandbox/endian/libs/endian
From: bdawes_at_[hidden]
Date: 2011-09-04 15:33:42


Author: bemandawes
Date: 2011-09-04 15:33:42 EDT (Sun, 04 Sep 2011)
New Revision: 74233
URL: http://svn.boost.org/trac/boost/changeset/74233

Log:
Finalize installation instructions for review candidates
Text files modified:
   sandbox/endian/libs/endian/INSTALL | 33 +++++++++++++++------------------
   sandbox/endian/libs/endian/zip-endian.bat | 36 ++++++++++++++----------------------
   2 files changed, 29 insertions(+), 40 deletions(-)

Modified: sandbox/endian/libs/endian/INSTALL
==============================================================================
--- sandbox/endian/libs/endian/INSTALL (original)
+++ sandbox/endian/libs/endian/INSTALL 2011-09-04 15:33:42 EDT (Sun, 04 Sep 2011)
@@ -1,22 +1,19 @@
-[Faster] To copy the library into an existing boost subversion checkout, do
-the following, replacing "BOOST" with the path of the boost checkout:
+Installation of a review candidate
+==================================
 
- svn export --force http://svn.boost.org/svn/boost/sandbox/endian BOOST
+1) Download the .zip distribution file. Move it to, say, /temp, and unzip it there.
+ That will result in a directory in /temp named endian-rc#, where # is the number of the
+ review candidate.
 
-[Slower] To install with an export of the Boost trunk, do the following
-in the directory where you want the resulting endian directory:
+2) If you haven't already done so, install a current version of Boost.
+ Since Boost.Endian is a header only library, there is no need to run a build.
+
+3) Copy the endian files to your Boost installation (replace MY-BOOST with its path):
 
- mkdir endian
- svn co http://svn.boost.org/svn/boost/sandbox/endian endian
- svn export --force http://svn.boost.org/svn/boost/trunk endian
-
-Boost.Endian is a header only library, so the library is ready to go
-without running a build.
-
-To run the tests:
+ Windows: xcopy /s /i \temp\endian-rc#\* MY-BOOST
+ POSIX: cp -r /temp/endian-rc#/* MY-BOOST
+
+4) Run the tests (as a confidence builder that the install went OK):
 
- cd endian/libs/endian/test
- bjam
-
-Copyright Beman Dawes 2011
-Distributed under the Boost Software License, Version 1.0. See http://www.boost.org/LICENSE_1_0.txt
+ cd MY-BOOST/endian/libs/endian/test
+ bjam

Modified: sandbox/endian/libs/endian/zip-endian.bat
==============================================================================
--- sandbox/endian/libs/endian/zip-endian.bat (original)
+++ sandbox/endian/libs/endian/zip-endian.bat 2011-09-04 15:33:42 EDT (Sun, 04 Sep 2011)
@@ -1,4 +1,5 @@
 echo create zip file...
+echo must be run from libs\endian directory
 
 if $%1 == $ goto error
 
@@ -6,28 +7,19 @@
 pushd .
 mkdir \temp\%1
 cd \temp\%1
-md doc\html
-md boost\integer
-md libs\integer\doc
-md libs\integer\example
-md libs\integer\test
+md boost\endian\detail
+md libs\endian\doc
+md libs\endian\example
+md libs\endian\test
 popd
-copy ..\..\boost.png \temp\%1
-copy ..\..\doc\html\minimal.css \temp\%1\doc\html
-copy ..\..\boost\binary_stream.hpp \temp\%1\boost
-copy ..\..\boost\integer\endian.hpp \temp\%1\boost\integer
-copy ..\..\boost\integer\endian_binary_stream.hpp \temp\%1\boost\integer
-copy ..\..\boost\integer\cover_operators.hpp \temp\%1\boost\integer
-copy ..\..\libs\integer\doc\endian.html \temp\%1\libs\integer\doc
-copy ..\..\libs\integer\example\endian_example.cpp \temp\%1\libs\integer\example
-copy ..\..\libs\integer\example\endian_hello_world.cpp \temp\%1\libs\integer\example
-copy ..\..\libs\integer\test\endian_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\binary_stream_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\endian_binary_stream_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\endian_in_union_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\endian_operations_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\scoped_enum_emulation_test.cpp \temp\%1\libs\integer\test
-copy ..\..\libs\integer\test\Jamfile.* \temp\%1\libs\integer\test
+copy ..\..\boost\endian\*.hpp \temp\%1\boost\endian
+copy ..\..\boost\endian\detail\*.hpp \temp\%1\boost\endian\detail
+copy ..\..\libs\endian\index.html \temp\%1\libs\endian
+copy ..\..\libs\endian\INSTALL \temp\%1\libs\endian
+copy ..\..\libs\endian\doc\*.html \temp\%1\libs\endian\doc
+copy ..\..\libs\endian\example\*.cpp \temp\%1\libs\endian\example
+copy ..\..\libs\endian\test\Jamfile.v2 \temp\%1\libs\endian\test
+copy ..\..\libs\endian\test\*.cpp \temp\%1\libs\endian\test
 
 pushd \temp
 zip -r %1.zip %1
@@ -39,6 +31,6 @@
 :error
 echo usage: zip-endian version
 echo version will be used for both the .zip name and the highest level directory name
-echo example: zip-endian endian-1.0
+echo example: zip-endian endian-rc1
 
 :done
\ No newline at end of file


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