X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=7e0f3bf1120b22eca5c84a1564a135094f0b801a;hb=23c2876aaa0808bcfedc1c5c30da6e8234341a13;hp=edaf87b2c8eee0840d23c5b0ffaee93c94bedf77;hpb=eced8a2fe1fc21ff6ab7b2020d2f061639ccef62;p=m6w6%2Fpecl-ci diff --git a/Makefile b/Makefile index edaf87b..7e0f3bf 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,13 @@ reconf: check $(srcdir)/php-$(PHP_VERSION)/configure cd $(srcdir)/php-$(PHP_VERSION) && ./configure -C --prefix=$(prefix) .PHONY: php -php: check $(bindir)/php +php: check $(bindir)/php | $(PECL_INI) + -for EXT_SONAME in $(extdir)/*.so; do \ + EXT_SONAME=$$(basename $$EXT_SONAME); \ + if test "$$EXT_SONAME" != "*.so" && ! grep -q extension=$$EXT_SONAME $(PECL_INI); then \ + echo extension=$$EXT_SONAME >> $(PECL_INI); \ + fi \ + done $(PHP_VERSIONS_JSON): $(srcdir)/php-version.php curl -Sso $@ "http://php.net/releases/index.php?json&version=$(PHP_VERSION_MAJOR)&max=-1"