From: Pierre Joye Date: Fri, 10 Dec 2010 17:11:58 +0000 (+0000) Subject: - install headers, missed that one X-Git-Tag: php-5.4.0alpha1~191^2~536 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f3cad91d028d798051cacd150f30ef750a41d87;p=php - install headers, missed that one --- diff --git a/win32/build/Makefile b/win32/build/Makefile index 1377342991..97245b8705 100644 --- a/win32/build/Makefile +++ b/win32/build/Makefile @@ -152,7 +152,13 @@ msi-installer: dist $(BUILD_DIR)\php.exe ..\php-installer\build-installer.php "$(BUILD_DIR)" "$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)" "$(PECL_TARGETS)" # need to redirect, since INSTALL is a file in the root... -install: really-install +install: really-install install-headers + +install-headers: + @if not exist $(PHP_PREFIX)\include mkdir $(PHP_PREFIX)\include >nul + @for %D in ($(INSTALL_HEADERS_DIR)) do @if not exist $(PHP_PREFIX)\include\%D mkdir $(PHP_PREFIX)\include\%D >nul + @for %D in ($(INSTALL_HEADERS_DIR)) do @copy %D*.h $(PHP_PREFIX)\include\%D /y >nul + @for %D in ($(INSTALL_HEADERS)) do @copy %D $(PHP_PREFIX)\include /y >nul really-install: @if not exist $(PHP_PREFIX) mkdir $(PHP_PREFIX)