]> granicus.if.org Git - php/commitdiff
Apparently, Solaris 2.6's find is overwhelmed with more than 2 -names per
authorSascha Schumann <sas@php.net>
Mon, 30 Sep 2002 04:42:11 +0000 (04:42 +0000)
committerSascha Schumann <sas@php.net>
Mon, 30 Sep 2002 04:42:11 +0000 (04:42 +0000)
invocation (add some parantheses and it segfaults).  And thus, we split
the clean target up.

Makefile.global

index 947f10f034ae15c700865aac4f7986e29f13eda5..6592e5509b0ad1450a2fa4768bc087f99de142c3 100644 (file)
@@ -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/*