summaryrefslogtreecommitdiff
path: root/vcsclean
diff options
context:
space:
mode:
Diffstat (limited to 'vcsclean')
-rwxr-xr-xvcsclean11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcsclean b/vcsclean
new file mode 100755
index 0000000..e1004e4
--- /dev/null
+++ b/vcsclean
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+if test -d 'CVS'; then
+ ${MAKE:-make} -f build/build.mk cvsclean-work
+elif test -d '.svn'; then
+ ${MAKE:-make} -f build/build.mk svnclean-work
+elif test -d '.git'; then
+ ${MAKE:-make} -f build/build.mk gitclean-work
+else
+ echo "Can't figure out your VCS, not cleaning."
+fi