com php-src: Clean up the 'generated' phar.inc file. When building outside the source tree the copied phar.inc needs to be removed, but when building
in the tree, the file must remain since it is part of the source. See the copying logic in ext/phar/Makefile.frag.: Makefile.global

From: Date: Thu, 01 Aug 2013 16:19:53 +0000
Subject: com php-src: Clean up the 'generated' phar.inc file. When building outside the source tree the copied phar.inc needs to be removed, but when building
in the tree, the file must remain since it is part of the source. See the copying logic in ext/phar/Makefile.frag.: Makefile.global
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-72803@lists.php.net to get a copy of this message
Commit: d884ec15e93fa153c845961f5e4c35ef9240eedd Author: Christopher Jones <sixd@php.net> Thu, 1 Aug 2013 09:19:53 -0700 Parents: 146b933ab49f8068a5fe983bcb5c821e103e575e Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d884ec15e93fa153c845961f5e4c35ef9240eedd Log: Clean up the 'generated' phar.inc file. When building outside the source tree the copied phar.inc needs to be removed, but when building in the tree, the file must remain since it is part of the source. See the copying logic in ext/phar/Makefile.frag.. Changed paths: M Makefile.global Diff: diff --git a/Makefile.global b/Makefile.global index a868ad0..4edaca9 100644 --- a/Makefile.global +++ b/Makefile.global @@ -125,6 +125,9 @@ distclean: clean rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html rm -f ext/iconv/php_have_bsd_iconv.h ext/iconv/php_have_glibc_iconv.h ext/iconv/php_have_ibm_iconv.h ext/iconv/php_have_iconv.h ext/iconv/php_have_libiconv.h ext/iconv/php_iconv_aliased_libiconv.h ext/iconv/php_iconv_supports_errno.h ext/iconv/php_php_iconv_h_path.h ext/iconv/php_php_iconv_impl.h rm -f ext/phar/phar.phar ext/phar/phar.php + if test "$(srcdir)" != "$(builddir)"; then \ + rm -f ext/phar/phar/phar.inc; \ + fi $(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f .PHONY: all clean install distclean test

« previous php.cvs (#72803) next »