summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 09:44:55 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-08-07 09:44:55 +0200
commit3de58f13a45d25bfb5cf5e2fc11362cf9dbd7558 (patch)
tree6aac22ec7aed92b44be48f2d243b663ba14f3f68
parent9b4f2b4337df8b3a9068a31db2b12ede344aef14 (diff)
clean up before releasing stuff
-rw-r--r--ext/libxml-wdk/win32/build-x64.bat4
-rw-r--r--ext/libxml-wdk/win32/build-x86.bat4
2 files changed, 6 insertions, 2 deletions
diff --git a/ext/libxml-wdk/win32/build-x64.bat b/ext/libxml-wdk/win32/build-x64.bat
index 1360ab36..088d5387 100644
--- a/ext/libxml-wdk/win32/build-x64.bat
+++ b/ext/libxml-wdk/win32/build-x64.bat
@@ -1,4 +1,5 @@
 @echo off
+set TARGET="LibXML-WDK 2.7.8 x64.7z"
 set WDK_ROOT=c:\WinDDK\7600.16385.1
 set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
 set LIB=%WDK_ROOT%\lib\wnet\amd64;%WDK_ROOT%\lib\Crt\amd64
@@ -13,5 +14,6 @@ rmdir /q /s lib
 nmake /nologo /f Makefile.msvc install
 move lib\libxml2.dll bin
 set PATH=%PATH%;%PROGRAMW6432%\7-Zip
-7z a "LibXML-WDK 2.7.8-x64.7z" bin include lib
+del %TARGET%
+7z a %TARGET% bin include lib
 pause
diff --git a/ext/libxml-wdk/win32/build-x86.bat b/ext/libxml-wdk/win32/build-x86.bat
index 4f2738b1..cc94a15f 100644
--- a/ext/libxml-wdk/win32/build-x86.bat
+++ b/ext/libxml-wdk/win32/build-x86.bat
@@ -1,4 +1,5 @@
 @echo off
+set TARGET="LibXML-WDK 2.7.8 x86.7z"
 set WDK_ROOT=c:\WinDDK\7600.16385.1
 set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
 set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386
@@ -12,5 +13,6 @@ rmdir /q /s lib
 nmake /nologo /f Makefile.msvc install
 move lib\libxml2.dll bin
 set PATH=%PATH%;%PROGRAMW6432%\7-Zip
-7z a "LibXML-WDK 2.7.8 x86.7z" bin include lib
+del %TARGET%
+7z a %TARGET% bin include lib
 pause