]> git.sur5r.net Git - bacula/bacula/commitdiff
Make win32/64 build stop on failure
authorKern Sibbald <kern@sibbald.com>
Thu, 29 Oct 2009 14:28:24 +0000 (15:28 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 29 Oct 2009 14:28:24 +0000 (15:28 +0100)
bacula/src/win32/Makefile

index 0c8dce21292cb3d0f7e6722874b64943ce7a5b22..240d24d06a57079dcf8541a6de9d97909a890b6d 100644 (file)
@@ -40,7 +40,7 @@ newinstaller:
           if $(MAKE) -C $@ $(MAKECMDGOALS); then \
                echo "\n===== Make of $@ succeeded =====\n\n" ; \
           else  \
-               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; exit 1; \
           fi ; \
        fi
 
@@ -49,7 +49,7 @@ win32_installer:
           if $(MAKE) -C $@ $(MAKECMDGOALS); then \
                echo "\n===== Make of $@ succeeded =====\n\n" ; \
           else  \
-               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; exit 1; \
           fi ; \
        fi
 
@@ -58,7 +58,7 @@ win64_installer:
           if $(MAKE) -C $@ $(MAKECMDGOALS); then \
                echo "\n===== Make of $@ succeeded =====\n\n" ; \
           else  \
-               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; exit 1; \
           fi ; \
        fi
 
@@ -68,7 +68,7 @@ $(DIRS):
           if $(MAKE) -C $@ $(MAKECMDGOALS); then \
                echo "\n===== Make of $@ succeeded =====\n\n" ; \
           else  \
-               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of $@ failed !!!!!\n\n" ; exit 1; \
           fi ; \
        fi
 
@@ -77,7 +77,7 @@ bsmtp:
           if $(MAKE) -C tools bsmtp $(MAKECMDGOALS); then \
                echo "\n===== Make of tools/bsmtp succeeded =====\n\n" ; \
           else  \
-               echo "\n!!!!! Make of tools/bsmtp failed !!!!!\n\n" ; \
+               echo "\n!!!!! Make of tools/bsmtp failed !!!!!\n\n" ; exit 1; \
           fi ; \
        fi