- add HttpRequest::getRawResponseMessage() and ::getRawRequestMessage() (Ilia)
[m6w6/ext-http] / Makefile.frag
1 # vim: noet ts=1 sw=1
2
3 phpincludedir=$(prefix)/include/php
4
5 install-http: install install-http-headers
6
7 install-http-headers:
8 @echo "Installing HTTP headers: $(INSTALL_ROOT)$(phpincludedir)/ext/http/"
9 @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/http
10 @for f in $(PHP_HTTP_HEADERS); do \
11 if test -f "$(top_srcdir)/$$f"; then \
12 $(INSTALL_DATA) $(top_srcdir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
13 elif test -f "$(top_builddir)/$$f"; then \
14 $(INSTALL_DATA) $(top_builddir)/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
15 elif test -f "$(top_srcdir)/ext/http/$$f"; then \
16 $(INSTALL_DATA) $(top_srcdir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
17 elif test -f "$(top_builddir)/ext/http/$$f"; then \
18 $(INSTALL_DATA) $(top_builddir)/ext/http/$$f $(INSTALL_ROOT)$(phpincludedir)/ext/http; \
19 else \
20 echo "WTF? $$f"; \
21 fi \
22 done;
23