MFB: cvsclean -> svnclean

This commit is contained in:
Gwynne Raskind 2009-07-12 21:51:28 +00:00
parent 2edbdcb845
commit 4f53441e69
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -1,3 +0,0 @@
#! /bin/sh
${MAKE:-make} -f build/build.mk cvsclean-work

3
svnclean Executable file
View File

@ -0,0 +1,3 @@
#! /bin/sh
${MAKE:-make} -f build/build.mk svnclean-work