From 8bc369ef19cc142ef571277080316f4a56341714 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Wed, 3 Feb 2010 17:09:02 +0100 Subject: [PATCH] Win32: stop bitching us and fail in the middle of the build Either you die at start or you don't. Stop making us loosing our time. --- Makefile.am | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index a4624eeab4..5fabf56c49 100644 --- a/Makefile.am +++ b/Makefile.am @@ -697,6 +697,13 @@ package-win-common: else \ echo "OK."; mkdir -p "$(win32_destdir)"; \ fi +# Same for debug symbols dir + @if test -e "$(win32_debugdir)"; then \ + echo "Error: please remove $(win32_debugdir), it is in the way"; \ + false; \ + else \ + echo "OK."; mkdir -p "$(win32_debugdir)"; \ + fi # Copy relevant files # Copy executables and libs @@ -921,12 +928,6 @@ endif # Strip DLLs package-win-common-strip: package-win32-base-debug - @if test -e "$(win32_debugdir)"; then \ - echo "Error: please remove $(win32_debugdir), it is in the way"; \ - false; \ - else \ - echo "OK."; mkdir -p "$(win32_debugdir)"; \ - fi for i in "" $(win32_destdir)/*$(LIBEXT) \ $(win32_destdir)/*$(EXEEXT) \ $(win32_destdir)/activex/*$(LIBEXT) \ -- 2.39.2