mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Moved part of the build out of build.xml
This commit is contained in:
parent
d424d4ee7f
commit
2a34194231
6 changed files with 104 additions and 64 deletions
37
build/build.bat
Normal file
37
build/build.bat
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
@echo off
|
||||
|
||||
rem Copyright (C) 2015 Mathieu Champlon
|
||||
rem
|
||||
rem Distributed under the Boost Software License, Version 1.0.
|
||||
rem (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
setlocal
|
||||
goto Start
|
||||
|
||||
:Error
|
||||
color 00
|
||||
goto :eof
|
||||
|
||||
:Start
|
||||
|
||||
rem error if BOOST_ROOT not set
|
||||
set BOOST=%BOOST_ROOT%
|
||||
|
||||
pushd ..\test
|
||||
%BOOST%\b2 -q %*
|
||||
popd
|
||||
if errorlevel 1 goto Error
|
||||
|
||||
set BOOSTBOOK_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 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
|
||||
if errorlevel 1 goto Error
|
||||
pushd ..\doc
|
||||
%BOOST%\b2 -q %*
|
||||
popd
|
||||
|
||||
:End
|
||||
Loading…
Add table
Add a link
Reference in a new issue