X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=Makefile;h=7274717dba7c97f1032a2c2276f979c3ea8432ec;hb=3d880c84e94ed6eee885dec36931d67d37232fea;hp=54c1b198d217c9c8a51a0a50b13bab5e29e57f2c;hpb=6f011e82c1fa0d063ed6faf0ded5e73f6e14ebf2;p=m6w6%2Ftravis-pecl diff --git a/Makefile b/Makefile index 54c1b19..7274717 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 $(bindir)/php $$phar --prefix=$(prefix) --ini=$(PECL_INI); done