3 # Used to build the Win32 version of bat
6 if test -f ../config.h ; then
7 mv -f ../config.h ../config.h.orig
9 qmake -spec win32 -unix -o Makefile.mingw32 bat.pro.mingw32
10 make -j3 -f Makefile.mingw32 $1
11 if test -e ../config.h.orig ; then
12 mv -f ../config.h.orig ../config.h
14 if test -d ../win32/release32; then
15 if test -f release/bat.exe; then
16 cp -f release/bat.exe ../win32/release32
18 cp -f debug/bat.exe ../win32/release32
20 cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtGui4.dll ../win32/release32
21 cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtCore4.dll ../win32/release32
22 rm -rf ../win32/release32/help
23 mkdir ../win32/release32/help
24 cp -f help/*.html ../win32/release32/help/
25 cp -f images/status.png ../win32/release32/help/
26 cp -f images/mail-message-new.png ../win32/release32/help/