com php-src: Fix command syntax, env var has to be nmake macro in makefile: win32/build/Makefile
| From: | Anatol Belski | Date: | Tue, 11 Apr 2017 11:29:08 +0000 |
| Subject: | com php-src: Fix command syntax, env var has to be nmake macro in makefile: win32/build/Makefile | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97558@lists.php.net to get a copy of this message | ||
Commit: a94fc577af6bfef3a623cded5aecc2dbb9710e85
Author: Anatol Belski <ab@php.net> Tue, 11 Apr 2017 13:25:51 +0200
Parents: f0f8c9cf0aee2e673b11d14697abc55509f94094
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a94fc577af6bfef3a623cded5aecc2dbb9710e85
Log:
Fix command syntax, env var has to be nmake macro in makefile
Changed paths:
M win32/build/Makefile
Diff:
diff --git a/win32/build/Makefile b/win32/build/Makefile
index 663b5b1..cb2e95a 100644
--- a/win32/build/Makefile
+++ b/win32/build/Makefile
@@ -186,7 +186,7 @@ build-dist: $(BUILD_DIR)\deplister.exe
-del /f /q
$(BUILD_DIR)\php-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
-del /f /q
$(BUILD_DIR)\php-debug-pack-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
-del /f /q
$(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
- %PHP_SDK_PHP_CMD% -d date.timezone=UTC -n -dphar.readonly=0 win32/build/mkdist.php
"$(BUILD_DIR)" "$(PHP_BUILD)" "$(PHPDLL)" "$(SAPI_TARGETS)"
"$(EXT_TARGETS) $(PHP_EXTRA_DIST_FILES)" "$(PECL_TARGETS)
$(PECL_EXTRA_DIST_FILES)" "$(SNAPSHOT_TEMPLATE)"
+ $(PHP_SDK_PHP_CMD) -d date.timezone=UTC -n -dphar.readonly=0 win32/build/mkdist.php
"$(BUILD_DIR)" "$(PHP_BUILD)" "$(PHPDLL)" "$(SAPI_TARGETS)"
"$(EXT_TARGETS) $(PHP_EXTRA_DIST_FILES)" "$(PECL_TARGETS)
$(PECL_EXTRA_DIST_FILES)" "$(SNAPSHOT_TEMPLATE)"
cd $(BUILD_DIR)\php-$(PHP_VERSION_STRING)
-$(ZIP) -9 -q -r
..\php-$(PHP_VERSION_STRING)$(PHP_ZTS_ARCHIVE_POSTFIX)-Win32-$(PHP_COMPILER_SHORT)-$(PHP_ARCHITECTURE).zip
.
cd $(BUILD_DIR)\pecl-$(PHP_VERSION_STRING)