From: Derick Rethans Date: Wed, 26 Jun 2002 18:19:34 +0000 (+0000) Subject: - Let make clean follow symlinks (tested on Linux, IRIX, Solaris, FreeBSD X-Git-Tag: php-4.3.0dev_zend2_alpha2~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1c4ea779bd9ef1113d5c7935eb0c67837eab4d0;p=php - Let make clean follow symlinks (tested on Linux, IRIX, Solaris, FreeBSD and Tru64) --- diff --git a/Makefile.global b/Makefile.global index 855bea5b68..acef6a04d2 100644 --- a/Makefile.global +++ b/Makefile.global @@ -60,8 +60,8 @@ test: sapi/cli/php $(top_builddir)/sapi/cli/php -c php.ini-dist $(top_srcdir)/run-tests.php clean: - find . -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a| xargs rm -f - find . -name .libs -a -type d|xargs rm -rf + find . -follow -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a| xargs rm -f + find . -follow -name .libs -a -type d|xargs rm -rf rm -f libphp4.la php sapi/cli/php modules/* libs/* distclean: clean