From 835f6beab8270f6b039b1257d8bd152d646cb7db Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 23 Dec 2003 05:43:19 +0000 Subject: [PATCH] Adding install target that follows the prefix --- win32/build/Makefile | 4 ++++ win32/build/config.w32 | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 "); -- 2.40.0