X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=0e161c81a93ebb6199aadbe5f8ded9b0cfc91d37;hb=05f5e23f9c6a3d588675f0387c882af1f57c0e4e;hp=b07e26dc2a60215aea2c0c11bc16168bc4f6a3a6;hpb=1a9608da123825ded9e7ff87306499b2793d3169;p=m6w6%2Fpecl-ci diff --git a/Makefile b/Makefile index b07e26d..0e161c8 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export PHP ?= 5.6 JOBS ?= 2 -PHP_MIRROR ?= http://us1.php.net/distributions/ +PHP_MIRROR ?= http://us2.php.net/distributions/ TMPDIR ?= /tmp tmpnam := $(TMPDIR)/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[a-zA-Z_]' -) @@ -42,13 +42,13 @@ PECL_DIR := $(if $(filter ext ext%, $(MAKECMDGOALS)), $(curdir), $(srcdir)/pecl- #PHP_VERSION_MAJOR = $(firstword $(subst ., ,$(PHP))) PHP_RELEASES = $(srcdir)/releases.tsv -PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2}') +PHP_VERSION ?= $(shell test -e $(PHP_RELEASES) && cat $(PHP_RELEASES) | awk -F "\t" '/^$(PHP)\t/{print $$2; exit}') CPPCHECK_STD ?= c89 CPPCHECK_ENABLE ?= portability,style CPPCHECK_EXITCODE ?= 42 CPPCHECK_SUPPRESSIONS ?= $(makdir)/cppcheck.suppressions -CPPCHECK_INCLUDES ?= -I. $(shell awk -F= '/^CPPFLAGS|^INCLUDES/{print $$2}'