- install headers, missed that one

This commit is contained in:
Pierre Joye 2010-12-10 17:11:58 +00:00
parent ff60a98755
commit 6f3cad91d0

View File

@ -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)