fix pharext rule
[m6w6/travis-pecl] / Makefile
index 33c6a740a4d6ff94941d2605a831ab05c8ca9cfb..88d36a9f74cd3890841cdacdd46881edf1eef310 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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