diff options
author | marha <marha@users.sourceforge.net> | 2012-08-22 10:58:40 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-08-22 10:58:40 +0200 |
commit | bc61f96ae3db76a9c65d679e15aaa36bd4a3e4a4 (patch) | |
tree | fe1431c131e720100e7df36c19a7de90e9068bd4 | |
parent | d586cc4fff8a7d4483dba44ed6d3c37b362c1886 (diff) | |
download | vcxsrv-bc61f96ae3db76a9c65d679e15aaa36bd4a3e4a4.tar.gz vcxsrv-bc61f96ae3db76a9c65d679e15aaa36bd4a3e4a4.tar.bz2 vcxsrv-bc61f96ae3db76a9c65d679e15aaa36bd4a3e4a4.zip |
Stop build process upon error of one of the commands1.12.99.0
-rw-r--r-- | buildall.bat | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/buildall.bat b/buildall.bat index 20ed10e9e..978f27fc2 100644 --- a/buildall.bat +++ b/buildall.bat @@ -1,26 +1,38 @@ nasm -h >& nul
-if errorlevel NE 0 goto nasmerror
+if %errorlevel% NEQ 0 goto nasmerror
echo on
devenv.com freetype\freetypevc10.sln /build "Release Multithreaded|Win32"
+if %errorlevel% NEQ 0 goto end
devenv.com freetype\freetypevc10.sln /build "Debug Multithreaded|Win32"
+if %errorlevel% NEQ 0 goto end
cd openssl
perl Configure VC-WIN32
+if %errorlevel% NEQ 0 goto end
call ms\do_nasm.bat
+if %errorlevel% NEQ 0 goto end
nmake -f ms\nt.mak
+if %errorlevel% NEQ 0 goto end
nmake DEBUG=1 -f ms\nt.mak
+if %errorlevel% NEQ 0 goto end
cd ..\pthreads
nmake VC-static
+if %errorlevel% NEQ 0 goto end
nmake VC-static-debug
+if %errorlevel% NEQ 0 goto end
cd ..
devenv.com tools\mhmake\mhmakevc10.sln /build "Release|Win32"
+if %errorlevel% NEQ 0 goto end
devenv.com tools\mhmake\mhmakevc10.sln /build "Debug|Win32"
+if %errorlevel% NEQ 0 goto end
set MHMAKECONF=%~dp0
tools\mhmake\release\mhmake.exe -C xorg-server MAKESERVER=1 DEBUG=1 vcxsrv_dbg.exe
+if %errorlevel% NEQ 0 goto end
tools\mhmake\release\mhmake.exe -C xorg-server MAKESERVER=1
+if %errorlevel% NEQ 0 goto end
cd xorg-server\installer
call packageall.bat
|