install tweaks
[m6w6/ext-http] / Makefile.frag
index 65547b8654b9ff6262437988d145a469bea53a23..480198627ffed62911ab0155654d21e13e024552 100644 (file)
@@ -3,7 +3,7 @@ phpincludedir=$(prefix)/include/php
 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,7 +13,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;