From 36d6e4b3b38947f8e6b8749c2138f522644a26f1 Mon Sep 17 00:00:00 2001 From: Denis Fomin <fominde@gmail.com> Date: Sun, 9 Sep 2012 14:28:56 +0400 Subject: [PATCH] Add build.bat --- build.bat | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 build.bat diff --git a/build.bat b/build.bat new file mode 100644 index 0000000000..f3e8c7113b --- /dev/null +++ b/build.bat @@ -0,0 +1,37 @@ +rmdir /S /Q gajim_built + +mkdir gajim_built +hg archive gajim_built +xcopy ..\gajim-plugins\plugin_installer gajim_built\plugins\plugin_installer /e /i + +copy msgfmt.exe gajim_built +copy gettextsrc.dll gajim_built +copy gettextlib.dll gajim_built +copy msvcr90.dll gajim_built + +cd gajim_built + +REM for libglade-2.0.0.dll +PATH=..\src\gtk\bin;%PATH% + +c:\python27\python.exe setup_win32.py build_exe + +move build\exe.win32-2.7 . +rename exe.win32-2.7 bin + +copy ..\LIBEAY32.dll bin +copy ..\SSLEAY32.dll bin + +mkdir bin\gtk +cd ../src/gtk +hg archive ..\..\gajim_built\bin\gtk +cd ../../gajim_built/ + +REM for msgfmt +PATH=bin\gtk\bin;%PATH% + +for %%l in (po\*.po) do mkdir po\%%~nl & mkdir po\%%~nl\LC_MESSAGES & msgfmt -o po\%%~nl\LC_MESSAGES\gajim.mo %%l + +"C:\Program Files\NSIS\makensis" gajim.nsi + +cd .. \ No newline at end of file -- GitLab