]> granicus.if.org Git - php/commitdiff
- Let make clean follow symlinks (tested on Linux, IRIX, Solaris, FreeBSD
authorDerick Rethans <derick@php.net>
Wed, 26 Jun 2002 18:19:34 +0000 (18:19 +0000)
committerDerick Rethans <derick@php.net>
Wed, 26 Jun 2002 18:19:34 +0000 (18:19 +0000)
  and Tru64)

Makefile.global

index 855bea5b6872123886df35171f6a79c1775bd221..acef6a04d2d213d83665a05cd231ae7e7a0cd6b8 100644 (file)
@@ -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