]> granicus.if.org Git - php/commitdiff
- s/rmdir/rd
authorSteph Fox <sfox@php.net>
Fri, 9 May 2008 11:20:09 +0000 (11:20 +0000)
committerSteph Fox <sfox@php.net>
Fri, 9 May 2008 11:20:09 +0000 (11:20 +0000)
- Patch supplied by Richard Quadling

win32/build/Makefile

index 987df345455e97885da9ed62df0a018726fb1f4b..61df8d70303b971a130ea383baa92b888463b7ea 100644 (file)
@@ -100,15 +100,15 @@ clean: clean-sapi
        @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)
+       -rd /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
 
 clean-pecl:
        @echo Cleaning PECL targets only
-       -rmdir /s /q $(BUILD_DIR)\pecl
+       -rd /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
+       @for %D in (_x $(BUILD_DIRS_SUB)) do @if exist %D @rd /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:
@@ -124,8 +124,8 @@ build-snap: generated_files
        -for %T in ($(PECL_TARGETS)) do $(MAKE) /I /nologo "%T"
 
 build-dist: $(BUILD_DIR)\deplister.exe
-       -rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
-       -rmdir /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)
+       -rd /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
+       -rd /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)
        -del /f /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-Win32.zip
        -del /f /q $(BUILD_DIR)\php-debug-pack-$(PHP_VERSION_STRING)-Win32.zip
        -del /f /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)-Win32.zip