summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-09-30 04:42:11 +0000
committerSascha Schumann <sas@php.net>2002-09-30 04:42:11 +0000
commit2405fcf38c29533bb377a8a467353bf1cc3ed371 (patch)
treec61c966320a286efbac82cea4d045872d08a3ab3 /Makefile.global
parentdbd1a45d70a806f6aebc9006b16ee95f1b929c9a (diff)
downloadphp-git-2405fcf38c29533bb377a8a467353bf1cc3ed371.tar.gz
Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per
invocation (add some parantheses and it segfaults). And thus, we split the clean target up.
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.global b/Makefile.global
index 947f10f034..6592e5509b 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -51,7 +51,9 @@ test: $(SAPI_CLI_PATH)
$(top_builddir)/$(SAPI_CLI_PATH) -c php.ini-dist $(top_srcdir)/run-tests.php $(TESTS)
clean:
- find . -name \*.lo -o -name \*.o -o -name \*.la -o -name \*.a -o -name \*.so| xargs rm -f
+ find . -name \*.lo -o -name \*.o | xargs rm -f
+ find . -name \*.la -o -name \*.a | xargs rm -f
+ find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp4.la $(SAPI_CLI_PATH) $(OVERALL_TARGET) modules/* libs/*