fmk Tue Dec 23 00:43:20 2003 EDT
Modified files:
/php-src/win32/build config.w32 Makefile
Log:
Adding install target that follows the prefix
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.18 php-src/win32/build/config.w32:1.19
--- php-src/win32/build/config.w32:1.18 Mon Dec 22 10:01:05 2003
+++ php-src/win32/build/config.w32 Tue Dec 23 00:43:19 2003
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.18 2003/12/22 15:01:05 wez Exp $
+// $Id: config.w32,v 1.19 2003/12/23 05:43:19 fmk Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -21,7 +21,12 @@
ARG_ENABLE('zts', 'Thread safety', 'yes');
// Configures the hard-coded installation dir
-ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5');
+if (PHP_DEBUG == "yes") {
+ ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5\\debug');
+} else {
+ ARG_ENABLE('prefix', 'where PHP will be installed', 'C:\\php5');
+}
+DEFINE('PHP_PREFIX', PHP_PREFIX);
DEFINE("BASE_INCLUDES", "/I . /I main /I regex /I Zend /I TSRM ");
Index: php-src/win32/build/Makefile
diff -u php-src/win32/build/Makefile:1.10 php-src/win32/build/Makefile:1.11
--- php-src/win32/build/Makefile:1.10 Mon Dec 22 08:13:39 2003
+++ php-src/win32/build/Makefile Tue Dec 23 00:43:19 2003
@@ -14,7 +14,7 @@
# | Author: Wez Furlong <[EMAIL PROTECTED]> |
# +----------------------------------------------------------------------+
#
-# $Id: Makefile,v 1.10 2003/12/22 13:13:39 wez Exp $
+# $Id: Makefile,v 1.11 2003/12/23 05:43:19 fmk Exp $
# This is the makefile template for the win32 build
CC="$(CL)"
@@ -99,3 +99,7 @@
msi-installer: dist
$(BUILD_DIR)\php.exe ..\php-installer\build-installer.php "$(BUILD_DIR)"
"$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)"
+install: all
+ @copy $(BUILD_DIR)\*.exe $(PHP_PREFIX) /y >null
+ @copy $(BUILD_DIR)\*.dll $(PHP_PREFIX) /y >null
+
\ No newline at end of file
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php