From: Frank M. Kromann Date: Tue, 23 Dec 2003 05:43:19 +0000 (+0000) Subject: Adding install target that follows the prefix X-Git-Tag: php_ibase_before_split~510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=835f6beab8270f6b039b1257d8bd152d646cb7db;p=php Adding install target that follows the prefix --- diff --git a/win32/build/Makefile b/win32/build/Makefile index 5b8a68bd7c..5f81e5a34b 100644 --- a/win32/build/Makefile +++ b/win32/build/Makefile @@ -99,3 +99,7 @@ snap: build-snap build-dist 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 diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 38c6817759..0dbd2c272a 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -21,7 +21,12 @@ ARG_ENABLE('debug', 'Compile with debugging symbols', "no"); 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 ");