]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/make-win32
Tweak copyrights
[bacula/bacula] / bacula / src / qt-console / make-win32
1 #!/bin/sh
2 #
3 #  Used to build the Win32 version of bat
4 #
5 rm -f debug/bat.exe
6 if test -e ../config.h ; then
7    mv -f ../config.h ../config.h.orig
8 fi
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
13 fi
14 if test -d ../win32/release32; then
15    cp -f debug/bat.exe ../win32/release32
16    cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtGui4.dll ../win32/release32
17    cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtCore4.dll ../win32/release32
18    rm -rf ../win32/release32/help
19    mkdir ../win32/release32/help
20    cp -f help/*.html ../win32/release32/help/
21    cp -f images/status.png ../win32/release32/help/
22    cp -f images/mail-message-new.png ../win32/release32/help/
23 fi