summary refs log tree commit diff stats
path: root/ext/lua-wdk/build-x86.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-29 19:40:02 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-29 19:40:02 +0200
commit6d0fa458f0bd3209e452b28242fa4c32afbffecf (patch)
tree6fc919a26460a721432af3561d1b54d86f230a9c /ext/lua-wdk/build-x86.bat
parent82be51593735727056605b8e947281c9c19592ee (diff)
update wdk distribution to use relative paths where possible
Diffstat (limited to 'ext/lua-wdk/build-x86.bat')
-rw-r--r--ext/lua-wdk/build-x86.bat29
1 files changed, 15 insertions, 14 deletions
diff --git a/ext/lua-wdk/build-x86.bat b/ext/lua-wdk/build-x86.bat
index dfa47b57..75a054ed 100644
--- a/ext/lua-wdk/build-x86.bat
+++ b/ext/lua-wdk/build-x86.bat
@@ -1,8 +1,9 @@
 @echo off

+set WDK_ROOT=c:\WinDDK\7600.16385.1

 set OPATH=%PATH%

-set INCLUDE=c:\WinDDK\7600.16385.1\inc\api;c:\WinDDK\7600.16385.1\inc\crt;c:\WinDDK\7600.16385.1\inc\ddk

-set LIB=c:\WinDDK\7600.16385.1\lib\wxp\i386;c:\WinDDK\7600.16385.1\lib\Crt\i386

-set PATH=c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

+set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\ddk

+set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386

+set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE

 set DEST=..\lua-wdk-5.1.4-2-x86

 call etc\luavs.bat

 @echo off

@@ -14,19 +15,19 @@ mkdir %DEST%
 mkdir %DEST%\bin

 mkdir %DEST%\lib

 mkdir %DEST%\include

-xcopy COPYRIGHT %DEST%

+copy COPYRIGHT %DEST%\LICENSE.LUA

 :: binaries and libraries

-xcopy src\lua.exe %DEST%\bin

-xcopy src\lua51.dll %DEST%\bin

-xcopy src\lua51.exp %DEST%\bin

-xcopy src\luac.exe %DEST%\bin

+copy src\lua.exe %DEST%\bin

+copy src\lua51.dll %DEST%\bin

+copy src\lua51.exp %DEST%\bin

+copy src\luac.exe %DEST%\bin

 :: library

-xcopy src\lua51.lib %DEST%\lib

+copy src\lua51.lib %DEST%\lib

 :: api

-xcopy src\lua.h %DEST%\include

-xcopy src\luaconf.h %DEST%\include

-xcopy src\lualib.h %DEST%\include

-xcopy src\lauxlib.h %DEST%\include

-xcopy etc\lua.hpp %DEST%\include

+copy src\lua.h %DEST%\include

+copy src\luaconf.h %DEST%\include

+copy src\lualib.h %DEST%\include

+copy src\lauxlib.h %DEST%\include

+copy etc\lua.hpp %DEST%\include

 echo.Finished!

 pause