]> granicus.if.org Git - php/commitdiff
ensure that install exists before copying files.
authorWez Furlong <wez@php.net>
Thu, 12 Feb 2004 13:01:14 +0000 (13:01 +0000)
committerWez Furlong <wez@php.net>
Thu, 12 Feb 2004 13:01:14 +0000 (13:01 +0000)
win32/build/Makefile

index 54b1f53e2ffbc8f01075b2bf09a158967f30cd2e..f38f9cbbb9e6f78d80cab0d8549d81d8d13921c9 100644 (file)
@@ -110,6 +110,7 @@ msi-installer: dist
        $(BUILD_DIR)\php.exe ..\php-installer\build-installer.php "$(BUILD_DIR)" "$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)" "$(PECL_TARGETS)"
 
 install: all
+       @if not exist $(PHP_PREFIX) mkdir $(PHP_PREFIX)
        @copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >nul
        @copy $(BUILD_DIR)\*.dll $(PHP_PREFIX) /y >nul