summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-12-10 17:11:58 (GMT)
committerPierre Joye <pajoye@php.net>2010-12-10 17:11:58 (GMT)
commit6f3cad91d028d798051cacd150f30ef750a41d87 (patch)
treef361573615ca26232a0de699dcc28cb931c260b3 /win32
parentff60a98755703cbcd2d89a7cef14c02271bdd0e7 (diff)
downloadphp-6f3cad91d028d798051cacd150f30ef750a41d87.tar.gz
- install headers, missed that one
Diffstat (limited to 'win32')
-rw-r--r--win32/build/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/build/Makefile b/win32/build/Makefile
index 1377342..97245b8 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)