diff options
author | Gwynne Raskind <gwynne@php.net> | 2009-07-12 21:51:28 +0000 |
---|---|---|
committer | Gwynne Raskind <gwynne@php.net> | 2009-07-12 21:51:28 +0000 |
commit | 4f53441e69e3b14b7c7d8d4891ba53a886698f05 (patch) | |
tree | 3c61e31c2e05ec375824cb1cbbf3c913dab4bd84 | |
parent | 2edbdcb845460af18054813f2808ae25c213c63c (diff) | |
download | php-git-4f53441e69e3b14b7c7d8d4891ba53a886698f05.tar.gz |
MFB: cvsclean -> svnclean
-rw-r--r-- | build/build.mk | 5 | ||||
-rwxr-xr-x | cvsclean | 3 | ||||
-rwxr-xr-x | svnclean | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/build/build.mk b/build/build.mk index 79b179c2e3..0e4f53eed5 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 diff --git a/cvsclean b/cvsclean deleted file mode 100755 index 3d084df86f..0000000000 --- a/cvsclean +++ /dev/null @@ -1,3 +0,0 @@ -#! /bin/sh - -${MAKE:-make} -f build/build.mk cvsclean-work diff --git a/svnclean b/svnclean new file mode 100755 index 0000000000..0beda87ba4 --- /dev/null +++ b/svnclean @@ -0,0 +1,3 @@ +#! /bin/sh + +${MAKE:-make} -f build/build.mk svnclean-work |