Browse Source

name the pecl bundle pecl-foo instead of php-foo-pecl.

PEAR_1_4DEV
Wez Furlong 22 years ago
parent
commit
6d131cefc0
  1. 6
      win32/build/Makefile
  2. 2
      win32/build/mkdist.php

6
win32/build/Makefile

@ -90,14 +90,14 @@ build-snap:
build-dist: $(BUILD_DIR)\deplister.exe
-rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
-rmdir /s /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-pecl
-rmdir /s /q $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)
-del /f /q $(BUILD_DIR)\php-$(PHP_VERSION_STRING).zip
$(BUILD_DIR)\php.exe -n win32/build/mkdist.php "$(BUILD_DIR)" "$(PHPDLL)" "$(SAPI_TARGETS)" "$(EXT_TARGETS)" "$(PECL_TARGETS)" "$(SNAPSHOT_TEMPLATE)"
cd $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
-$(ZIP) -9 -r ..\php-$(PHP_VERSION_STRING).zip .
cd ..\..
cd $(BUILD_DIR)\php-$(PHP_VERSION_STRING)-pecl
-$(ZIP) -9 -r ..\php-$(PHP_VERSION_STRING)-pecl.zip .
cd $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)
-$(ZIP) -9 -r ..\pecl-$(PHP_VERSION_STRING).zip .
cd ..\..
dist: all build-dist

2
win32/build/mkdist.php

@ -13,7 +13,7 @@ $is_debug = preg_match("/^debug/i", $build_dir);
echo "Making dist for $build_dir\n";
$dist_dir = $build_dir . "/php-" . phpversion();
$pecl_dir = $dist_dir . "-pecl";
$pecl_dir = $build_dir . "/pecl-" . phpversion();
@mkdir($dist_dir);
@mkdir("$dist_dir/ext");

Loading…
Cancel
Save