]> git.sesse.net Git - vlc/commitdiff
Win32: stop bitching us and fail in the middle of the build
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 3 Feb 2010 16:09:02 +0000 (17:09 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 3 Feb 2010 16:55:35 +0000 (17:55 +0100)
Either you die at start or you don't. Stop making us loosing our time.

Makefile.am

index a4624eeab46e008a5f6c0a48c75f852d967e11da..5fabf56c496482eb800c2636fbbe73c7dcffecb5 100644 (file)
@@ -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) \