svn: /php/php-src/trunk/win32/build/ Makefile
| From: | Pierre Joye | Date: | Fri, 10 Dec 2010 17:11:58 +0000 |
| Subject: | svn: /php/php-src/trunk/win32/build/ Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-64084@lists.php.net to get a copy of this message | ||
pajoye Fri, 10 Dec 2010 17:11:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306190
Log:
- install headers, missed that one
Changed paths:
U php/php-src/trunk/win32/build/Makefile
Modified: php/php-src/trunk/win32/build/Makefile
===================================================================
--- php/php-src/trunk/win32/build/Makefile 2010-12-10 16:10:08 UTC (rev 306189)
+++ php/php-src/trunk/win32/build/Makefile 2010-12-10 17:11:58 UTC (rev 306190)
@@ -152,8 +152,14 @@
$(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)
@echo Installing files under $(PHP_PREFIX)