r15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
authorJames Peach <jpeach@samba.org>
Fri, 21 Apr 2006 00:14:57 +0000 (00:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:12 +0000 (14:04 -0500)
with the (hopefuly) equivalent find/rm sequence.
(This used to be commit 2bce5c9465ebd245d153196fbedd764378c36827)

source4/main.mk

index 6eba282be0cee0b8c9ca60a148e88805763aba10..26d228fa6f9e81d81c345cd7644c3b10de1e1197 100644 (file)
@@ -372,4 +372,5 @@ configure:
 
 clean::
        @echo Removing dependency files
-       @rm -f $(DEP_FILES)
+       @find . -name \*.d -o -name \*.hd | xargs rm -f
+