From b6ace818a0b1d0aa85a7a55b5fa7e8254271a72e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 8 Jan 2011 19:37:15 +0100 Subject: [PATCH] Tweak Windows tray monitor build --- bacula/src/qt-console/make-win32 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 .. -- 2.39.5