Re: cvs: php-src /ext/zip Makefile.frag config.m4 php_zip.c
| From: | Hannes Magnusson | Date: | Sun, 25 May 2008 13:42:05 +0000 |
| Subject: | Re: cvs: php-src /ext/zip Makefile.frag config.m4 php_zip.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-50141@lists.php.net to get a copy of this message | ||
On Fri, Jan 18, 2008 at 2:33 AM, Greg Beaver <cellog@php.net> wrote:
> cellog Fri Jan 18 00:33:15 2008 UTC
>
> Modified files:
> /php-src/ext/zip Makefile.frag config.m4 php_zip.c
> Log:
> MF5.3: install headers, use correct zip version
>
>
> http://cvs.php.net/viewvc.cgi/php-src/ext/zip/Makefile.frag?r1=1.1&r2=1.2&diff_format=u
> Index: php-src/ext/zip/Makefile.frag
> diff -u /dev/null php-src/ext/zip/Makefile.frag:1.2
> --- /dev/null Fri Jan 18 00:33:15 2008
> +++ php-src/ext/zip/Makefile.frag Fri Jan 18 00:33:15 2008
> @@ -0,0 +1,28 @@
> +phpincludedir=$(prefix)/include/php
> +
> +ZIP_HEADER_FILES= \
> + zip.h \
> + zipint.h \
> + zip_alias.h \
> + zipint_alias.h
> +
> +install-zip-headers:
> + @echo "Installing ZIP headers:
> $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib"
> + @$(mkinstalldirs) $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib
> + @for f in $(ZIP_HEADER_FILES); do \
> + if test -f "$(top_srcdir)/lib/$$f"; then \
> + $(INSTALL_DATA) $(top_srcdir)/lib/$$f
> $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \
> + elif test -f "$(top_builddir)/lib/$$f"; then \
> + $(INSTALL_DATA) $(top_builddir)/lib/$$f
> $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \
> + elif test -f "$(top_srcdir)/ext/zip/lib/$$f"; then \
> + $(INSTALL_DATA) $(top_srcdir)/ext/zip/lib/$$f
> $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \
> + elif test -f "$(top_builddir)/ext/zip/lib/$$f"; then \
> + $(INSTALL_DATA) $(top_builddir)/ext/zip/lib/$$f
> $(INSTALL_ROOT)$(phpincludedir)/ext/zip/lib; \
> + else \
> + echo "hmmm"; \
> + fi \
echo "Sayyy whaaat? :)";
-Hannes