Permalink
Browse files

Speed up 'distclean' by only traversing directory tree once.

  • Loading branch information...
1 parent b79e855 commit 9cdfd46789b9ee6ce0576bee83958e2cb2ac3f92 @pprindeville committed Dec 10, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 Makefile
View
@@ -234,6 +234,4 @@ clean:
distclean:
rm -rf $(POCO_BUILD)/lib
- find $(POCO_BUILD) -name obj -type d -print0 | xargs -0 rm -rf
- find $(POCO_BUILD) -name .dep -type d -print0 | xargs -0 rm -rf
- find $(POCO_BUILD) -name bin -type d -print0 | xargs -0 rm -rf
+ find $(POCO_BUILD) \( -name obj -o -name .dep -o -name bin \) -type d -print0 | xargs -0 rm -rf

1 comment on commit 9cdfd46

I'm a little bit worried about this one breaking some platforms

Please sign in to comment.