Browse Source

Adding install target that follows the prefix

PEAR_1_4DEV
Frank M. Kromann 23 years ago
parent
commit
835f6beab8
  1. 4
      win32/build/Makefile
  2. 7
      win32/build/config.w32

4
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

7
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 ");

Loading…
Cancel
Save