From: Kern Sibbald Date: Sat, 8 Jan 2011 18:37:15 +0000 (+0100) Subject: Tweak Windows tray monitor build X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b6ace818a0b1d0aa85a7a55b5fa7e8254271a72e;p=bacula%2Fbacula Tweak Windows tray monitor build --- diff --git a/bacula/src/qt-console/make-win32 b/bacula/src/qt-console/make-win32 index c347e9beea..5b1bab2e6e 100755 --- a/bacula/src/qt-console/make-win32 +++ b/bacula/src/qt-console/make-win32 @@ -7,6 +7,7 @@ if test -f ../config.h ; then mv -f ../config.h ../config.h.orig fi qmake -spec win32 -unix -o Makefile.mingw32 bat.pro.mingw32 +echo "Make Windows bat" make -j3 -f Makefile.mingw32 $1 if test -e ../config.h.orig ; then mv -f ../config.h.orig ../config.h @@ -27,11 +28,13 @@ if test -d ../win32/release32; then fi cd tray-monitor +rm -f release/bacula-tray-monitor.exe debug/bacula-tray-monitor.exe qmake -spec ../win32 -unix -o Makefile.mingw32 tray-monitor.pro +echo "Make Windows tray-monitor" make -j3 -f Makefile.mingw32 $1 if test -f release/bacula-tray-monitor.exe; then - cp -f release/bacula-tray-monitor.exe ../../win32/release32 + cp -f release/bacula-tray-monitor.exe ../../win32/release32 else - cp -f debug/bacula-tray-monitor.exe ../../win32/release32 + cp -f debug/bacula-tray-monitor.exe ../../win32/release32 fi cd ..