mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Only use BOOST_ROOT
This commit is contained in:
parent
32d16f773b
commit
01013cce2f
3 changed files with 17 additions and 17 deletions
|
|
@ -7,24 +7,24 @@ rem (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.t
|
|||
|
||||
setlocal
|
||||
|
||||
rem error if BOOST_ROOT not set
|
||||
set BOOST=%BOOST_ROOT%
|
||||
rem Need to set BOOST_ROOT and run from the source root directory
|
||||
|
||||
set PROJECT_DIR=%cd%
|
||||
|
||||
cd %BOOST%
|
||||
cd %BOOST_ROOT%
|
||||
b2.exe %PROJECT_DIR%\test -q %BUILD_ARGS% %*
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
|
||||
cd %PROJECT_DIR%
|
||||
set BOOSTBOOK_DIR=%PROJECT_DIR%\bin\turtle\boostbook
|
||||
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\xsl %BOOSTBOOK_DIR%\xsl
|
||||
xcopy /Y /S /Q /I %BOOST%\tools\boostbook\dtd %BOOSTBOOK_DIR%\dtd
|
||||
xcopy /Y /S /Q /I %BOOST_ROOT%\tools\boostbook\xsl %BOOSTBOOK_DIR%\xsl
|
||||
xcopy /Y /S /Q /I %BOOST_ROOT%\tools\boostbook\dtd %BOOSTBOOK_DIR%\dtd
|
||||
xcopy /Y /S /Q /I doc\boostbook %BOOSTBOOK_DIR%
|
||||
xcopy /Y /S /Q /I %BOOST%\doc\src\boostbook.css doc\html
|
||||
xcopy /Y /S /Q /I %BOOST%\doc\src\images\*.png doc\html\images
|
||||
xcopy /Y /S /Q /I %BOOST%\doc\src\images\callouts\*.png doc\html\images\callouts
|
||||
xcopy /Y /S /Q /I %BOOST_ROOT%\doc\src\boostbook.css doc\html
|
||||
xcopy /Y /S /Q /I %BOOST_ROOT%\doc\src\images\*.png doc\html\images
|
||||
xcopy /Y /S /Q /I %BOOST_ROOT%\doc\src\images\callouts\*.png doc\html\images\callouts
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
|
||||
cd %BOOST%
|
||||
cd %BOOST_ROOT%
|
||||
b2.exe %PROJECT_DIR%\doc -q %*
|
||||
if errorlevel 1 exit /b %ERRORLEVEL%
|
||||
|
|
|
|||
|
|
@ -7,14 +7,14 @@
|
|||
|
||||
set -eux
|
||||
|
||||
export BOOST="$BOOST_ROOT"
|
||||
# Need to set BOOST_ROOT and run from the source root directory
|
||||
PROJECT_DIR="$(pwd)"
|
||||
|
||||
cd "$BOOST"
|
||||
cd "$BOOST_ROOT"
|
||||
./b2 "$PROJECT_DIR/test" -q "$@"
|
||||
|
||||
cd "$PROJECT_DIR"
|
||||
scripts/build_doc.sh "$@"
|
||||
|
||||
cd "$BOOST"
|
||||
cd "$BOOST_ROOT"
|
||||
./b2 "$PROJECT_DIR/doc//mock_examples" -q "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue