From 6f8f9d1405f64ca8218a6b83b83e01e3ece3c9ea Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sun, 15 May 2011 15:17:43 +0000 Subject: added QuickMessages plugin added webOSD plugin git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@106 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- wbOSD/pack.cmd | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 wbOSD/pack.cmd (limited to 'wbOSD/pack.cmd') diff --git a/wbOSD/pack.cmd b/wbOSD/pack.cmd new file mode 100644 index 0000000..bd37e4d --- /dev/null +++ b/wbOSD/pack.cmd @@ -0,0 +1,31 @@ +@echo off +nmake -f wbOSD.mak CFG="wbOSD - Win32 Release" +if errorlevel 1 ( + echo "Make failed" + goto :eof ) +nmake -f wbOSD.mak CFG="wbOSD - Win32 Release Unicode" +if errorlevel 1 ( + echo "Make failed" + goto :eof ) + +del "%temp%\wbOSD.zip" > nul +del "%temp%\wbOSDW.zip" > nul +del "%temp%\wbOSDSrc.zip" > nul +del *.user > nul + +for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n + +"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\wbOSD.zip" ./Release/wbOSD.dll wbOSD-translation.txt +"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\wbOSDW.zip" ./Release_Unicode/wbOSD.dll wbOSD-translation.txt + +rd /S /Q Release +rd /S /Q Release_Unicode + +"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\wbOSDSrc.zip" -xr!.svn -x!*.cmd +goto :eof + +:Translate +if %2 == __FILEVERSION_STRING ( + perl lpgen.pl wbOSD version %3 %4 %5 %6 ) + +goto :eof -- cgit v1.2.3