X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=Makefile.frag;h=f019ecc059a561d858e39b8dda0fc2684438fd4b;hp=65547b8654b9ff6262437988d145a469bea53a23;hb=ad5f896b03adaa073134a00108a9cdf00720673a;hpb=d83edb65a0097de2d5baa1a9fd9dbcebed34cc79 diff --git a/Makefile.frag b/Makefile.frag index 65547b8..f019ecc 100644 --- a/Makefile.frag +++ b/Makefile.frag @@ -1,9 +1,13 @@ +# vim: noet ts=1 sw=1 + phpincludedir=$(prefix)/include/php +install-http: install install-http-headers + install-http-headers: @echo "Installing HTTP headers: $(INSTALL_ROOT)$(phpincludedir)/ext/http/" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/http - @for f in $(HTTP_HEADER_FILES); do \ + @for f in $(PHP_HTTP_HEADERS); do \ if test -f "$(top_srcdir)/$$f"; then \ $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \ elif test -f "$(top_builddir)/$$f"; then \ @@ -13,10 +17,7 @@ install-http-headers: elif test -f "$(top_builddir)/ext/http/$$f"; then \ $(INSTALL_DATA) $(top_builddir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \ else \ - echo "WTF? $f $$f"; \ + echo "WTF? $$f"; \ fi \ done; -# mini hack -install: $(all_targets) $(install_targets) install-http-headers -