From 52e2d7b1c9aa0266b6b074e513da4e759abedcbf Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 22 May 2014 16:09:21 +0100 Subject: [PATCH] Makefile: add `IF EXISTS` guard on `del` for a Win32 target Fixes Windows installer builds in a fresh working directory. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 93b4a038fe..77bd1921b4 100644 --- a/Makefile +++ b/Makefile @@ -468,7 +468,7 @@ client: $(MAKE) installer-from-bundle $(COPY_ARGS) win32-client: - cmd /c del /f /s /q build\user + IF EXIST build\user cmd /c del /f /s /q build\user $(MAKE) win32-base $(COPY_ARGS) $(MAKE) win32-distro-build-from-server $(COPY_ARGS) $(MAKE) win32-bundle-from-server $(COPY_ARGS)