]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak Windows tray monitor build
authorKern Sibbald <kern@sibbald.com>
Sat, 8 Jan 2011 18:37:15 +0000 (19:37 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:49 +0000 (14:39 +0200)
bacula/src/qt-console/make-win32

index c347e9beea01db9640925966748a3d18d1ac8388..5b1bab2e6e00e4fd5e4f225df8f407b9a57bedd5 100755 (executable)
@@ -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 ..