Skip to content

Commit

Permalink
Removed cvsclean and svnclean tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Sobak authored and smalyshev committed Jun 9, 2014
1 parent cfccdc6 commit 244c289
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 260 deletions.
14 changes: 1 addition & 13 deletions build/build.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# +----------------------------------------------------------------------+
# | PHP Version 5 |
# +----------------------------------------------------------------------+
# | Copyright (c) 1997-2006 The PHP Group |
# | Copyright (c) 1997-2014 The PHP Group |
# +----------------------------------------------------------------------+
# | This source file is subject to version 3.01 of the PHP license, |
# | that is bundled with this package in the file LICENSE, and is |
Expand All @@ -14,8 +14,6 @@
# | Author: Sascha Schumann <[email protected]> |
# +----------------------------------------------------------------------+
#
# $Id$
#
#
# Makefile to generate build tools
#
Expand Down Expand Up @@ -61,16 +59,6 @@ snapshot:
md5sum $$distname.tar.bz2; \
bzip2 -t $$distname.tar.bz2

cvsclean-work:
@for i in `find . -name .cvsignore`; do \
(cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore | grep -v config.nice | sed 's/[[:space:]]/ /g'` *.o *.a *.lo *.la *.gcno *.gcda .libs || true); \
done

svnclean-work:
@for i in `find . -type d ! -path '*/.svn/*' | grep -v '.svn'`; do \
(cd $$i 2>/dev/null && rm -rf `svn propget svn:ignore . | grep -v config.nice` *.o *.a *.lo *.la *.gcno *.gcda .libs || true); \
done

gitclean-work:
@if (test ! -f '.git/info/exclude' || grep -s "git-ls-files" .git/info/exclude); then \
(echo "Rebuild .git/info/exclude" && echo '*.o' > .git/info/exclude && git svn propget svn:ignore | grep -v config.nice >> .git/info/exclude); \
Expand Down
2 changes: 0 additions & 2 deletions svnclean.bat

This file was deleted.

6 changes: 1 addition & 5 deletions vcsclean
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#! /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
if test -d '.git'; then
${MAKE:-make} -f build/build.mk gitclean-work
else
echo "Can't figure out your VCS, not cleaning."
Expand Down
120 changes: 0 additions & 120 deletions win32/build/cvsclean.js

This file was deleted.

120 changes: 0 additions & 120 deletions win32/build/svnclean.js

This file was deleted.

0 comments on commit 244c289

Please sign in to comment.