From: Steph Fox Date: Sat, 3 May 2008 21:12:55 +0000 (+0000) Subject: - Introducing nmake clean-all X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe4a9a3fc48a8f1a961c52dfccc870d98d5b3570;p=php - Introducing nmake clean-all - This should probably be merged with nmake clean, but I've no way to test the impact on distro builds. --- diff --git a/win32/build/Makefile b/win32/build/Makefile index 5bb7c3321c..987df34545 100644 --- a/win32/build/Makefile +++ b/win32/build/Makefile @@ -97,7 +97,7 @@ clean-sapi: -@del /F /Q $(BUILD_DIR)\$(PHPDLL) clean: clean-sapi - @echo Cleaning build dirs + @echo Cleaning distribution build dirs @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @del /F /Q %D\*.* > NUL -@del /F /Q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-Win32.zip $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)-Win32.zip > NUL -rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING) @@ -106,6 +106,11 @@ clean-pecl: @echo Cleaning PECL targets only -rmdir /s /q $(BUILD_DIR)\pecl +clean-all: + @echo Cleaning standard build dirs + @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @rmdir /s /q %D + -@del /f /q $(BUILD_DIR)\*.res $(BUILD_DIR)\*.lib $(BUILD_DIR)\*.ilk $(BUILD_DIR)\*.pdb $(BUILD_DIR)\*.exp $(PHPDEF) $(BUILD_DIR)\*.rc $(BUILD_DIR)\*.dbg $(BUILD_DIR)\*.bin $(BUILD_DIR)\php*.dll $(BUILD_DIR)\php*.exe > NUL + test: <