summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGwynne Raskind <gwynne@php.net>2009-07-12 19:43:27 +0000
committerGwynne Raskind <gwynne@php.net>2009-07-12 19:43:27 +0000
commit627061c6a374cc3a20fd838d40dd552cdb04a9a9 (patch)
treee7abd494e858630592b986415c24aaebe2431461 /build
parentc71358379d1ad010c372dde7bb7416c26e98d9e0 (diff)
downloadphp-git-627061c6a374cc3a20fd838d40dd552cdb04a9a9.tar.gz
cvsclean -> svnclean
Diffstat (limited to 'build')
-rw-r--r--build/build.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/build.mk b/build/build.mk
index f79cd3b49c..b333b38485 100644
--- a/build/build.mk
+++ b/build/build.mk
@@ -70,4 +70,9 @@ cvsclean-work:
(cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore | grep -v config.nice | sed 's/[[:space:]]/ /g'` *.o *.a .libs || true); \
done
+svnclean-work:
+ for i in `find . -type d -and -not -path '*/.svn/*'`; do \
+ (cd `dirname $$i` 2>/dev/null && svn propget svn:ignore $i | xargs rm -rf && rm -rf *.o *.a .libs || true); \
+ done
+
.PHONY: $(ALWAYS) snapshot