Finalize installation instructions for review candidates

git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@74233 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
bemandawes
2011-09-04 19:33:42 +00:00
parent c0497ea643
commit cf0a9f22e8
2 changed files with 29 additions and 40 deletions

View File

@@ -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

View File

@@ -1,4 +1,5 @@
echo create zip file...
echo must be run from libs\endian directory
if $%1 == $ goto error
@@ -6,28 +7,19 @@ rmdir /s \temp\%1 2>nul
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 @@ goto done
: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