X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=88d36a9f74cd3890841cdacdd46881edf1eef310;hb=01c99bb9ee4a8030742ce230c43333252ebf6835;hp=54c1b198d217c9c8a51a0a50b13bab5e29e57f2c;hpb=6f011e82c1fa0d063ed6faf0ded5e73f6e14ebf2;p=m6w6%2Ftravis-pecl diff --git a/Makefile b/Makefile index 54c1b19..88d36a9 100644 --- a/Makefile +++ b/Makefile @@ -56,9 +56,9 @@ $(srcdir)/php-versions.json: $(srcdir)/php-version.php $(srcdir)/php-$(PHP_VERSION)/configure: | $(srcdir)/php-versions.json if test $(PHP_VERSION) = "master"; then \ - cd $(srcdir) && git clone --depth 1 -b master https://github.com/php/php-src php-master \ + cd $(srcdir) && git clone --depth 1 -b master https://github.com/php/php-src php-master && cd php-master && ./buildconf; \ else \ - curl -Ss $(PHP_MIRROR)/php-$(PHP_VERSION).tar.bz2 | tar xj -C $(srcdir) \ + curl -Ss $(PHP_MIRROR)/php-$(PHP_VERSION).tar.bz2 | tar xj -C $(srcdir); \ fi $(srcdir)/php-$(PHP_VERSION)/Makefile: $(srcdir)/php-$(PHP_VERSION)/configure | $(srcdir)/php-versions.json @@ -126,3 +126,6 @@ ext: pecl-check $(srcdir)/pecl-$(PECL_EXTENSION) pecl .PHONY: php test: php REPORT_EXIT_STATUS=1 $(bindir)/php run-tests.php -q -p $(bindir)/php --set-timeout 300 --show-diff tests + +pharext/%: $(PECL_INI) php | $(srcdir)/../%.ext.phar + for phar in $|; do $$phar --prefix=$(prefix) --ini=$(PECL_INI); done