summary refs log tree commit diff stats
path: root/win32/deps/zlib
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-09-28 18:05:33 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-09-28 18:05:33 +0200
commitb783207bca05a710b82772324241731e272c921e (patch)
tree82cc560e8df9d485eee880efbb47699b232f6177 /win32/deps/zlib
parent7d0a175dc2c00f93bdab513d7f17f43853245f3b (diff)
Remove package before creating a new one
Diffstat (limited to 'win32/deps/zlib')
-rw-r--r--win32/deps/zlib/build-x64.bat1
-rw-r--r--win32/deps/zlib/build-x86.bat1
2 files changed, 2 insertions, 0 deletions
diff --git a/win32/deps/zlib/build-x64.bat b/win32/deps/zlib/build-x64.bat
index 07de2c8e..d9bfa16e 100644
--- a/win32/deps/zlib/build-x64.bat
+++ b/win32/deps/zlib/build-x64.bat
@@ -25,6 +25,7 @@ nmake -f win32\Makefile.msc clean
 

 cd %ZLIB_DEST%

 set PATH=%PATH%;%ProgramFiles%\7-zip

+del ..\%PACKAGE_NAME%-x64.7z

 7z a ..\%PACKAGE_NAME%-x64.7z *

 cd %ZLIB_SRC%

 rmdir /q /s %ZLIB_DEST%

diff --git a/win32/deps/zlib/build-x86.bat b/win32/deps/zlib/build-x86.bat
index 5c94e851..d170a0bf 100644
--- a/win32/deps/zlib/build-x86.bat
+++ b/win32/deps/zlib/build-x86.bat
@@ -25,6 +25,7 @@ nmake -f win32\Makefile.msc clean
 

 cd %ZLIB_DEST%

 set PATH=%PATH%;%ProgramFiles%\7-zip

+del ..\%PACKAGE_NAME%-x86.7z

 7z a ..\%PACKAGE_NAME%-x86.7z *

 cd %ZLIB_SRC%

 rmdir /q /s %ZLIB_DEST%