X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=3a34ec3a1ba08b0f069628445363f94469e2e8c4;hb=dd0a2e61211836ac7b24a271a5bd68af99dee3d6;hp=3c5e2938a04a62b24582bc6394d0f0cf92749b3d;hpb=a8cc62c5de13033c59aa13af19a0f7dd54b5596b;p=m6w6%2Fpecl-ci diff --git a/Makefile b/Makefile index 3c5e293..3a34ec3 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ TMPDIR ?= /tmp makdir := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))) ifdef TRAVIS -prefix ?= $(HOME)/build/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[a-zA-Z_]' -) +prefix ?= $(HOME)/cache/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[a-zA-Z_]' -) else prefix ?= $(TMPDIR)/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[a-zA-Z_]' -) endif @@ -79,7 +79,7 @@ check: $(PHP_RELEASES) .PHONY: reconf reconf: check $(srcdir)/php-$(PHP_VERSION)/configure - cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix) + cd $(srcdir)/php-$(PHP_VERSION) && ./configure --cache-file=config.cache --prefix=$(prefix) && rm -f sapi/cli/php .PHONY: php php: check $(bindir)/php | $(PECL_INI)