Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Clean up the 'generated' file.

When building outside the source tree the copied 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.
  • Loading branch information...
commit d884ec15e93fa153c845961f5e4c35ef9240eedd 1 parent 146b933
Christopher Jones authored
Showing with 3 additions and 0 deletions.
  1. +3 −0 
3 
@@ -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/; \
+ fi
$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
.PHONY: all clean install distclean test
Please sign in to comment.
Something went wrong with that request. Please try again.