X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=d7d70cd3b459f53d4ce4c93780521b2e43da83a2;hb=54a746ab5e068060f53796d0aca55f76656bb8b1;hp=d20e6a420344dd344d47b76f844227aabb84ab6e;hpb=3529c77d8f6844c8817873490e290e203b9bfc50;p=m6w6%2Fpecl-ci diff --git a/Makefile b/Makefile index d20e6a4..d7d70cd 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ prefix ?= $(TMPDIR)/php-$(PHP)-$(shell env |grep -E '^with_|^enable_' | tr -c '[ endif exec_prefix ?= $(prefix) bindir = $(exec_prefix)/bin -srcdir := $(prefix)/src +srcdir = $(prefix)/src ifdef TRAVIS_BUILD_DIR curdir ?= $(TRAVIS_BUILD_DIR) else @@ -75,6 +75,7 @@ clean: .PHONY: check check: $(PHP_RELEASES) @if test -z "$(PHP)"; then echo "No php version specified, e.g. PHP=5.6"; exit 1; fi + @if test -z "$(PHP_VERSION)"; then echo "No PHP version akin to $(PHP) available"; exit 1; fi if test -d $(srcdir)/php-$(PHP_VERSION)/.git; then cd $(srcdir)/php-$(PHP_VERSION)/; git pull; fi .PHONY: reconf