add pharext rule
[m6w6/pecl-ci] / Makefile
index 33c6a740a4d6ff94941d2605a831ab05c8ca9cfb..972be2d50d3b5ca453e30cbbffd1fb5012f1f8eb 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
+
+%.ext.phar: ../%.ext.phar $(PECL_INI) php
+       $< --prefix=$(prefix) --ini=$(PECL_INI)