mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
MFH: dropped some more mime types, svnclean -> clean for multiple VCS
This commit is contained in:
parent
2adf42f890
commit
ad3dd7a718
@ -71,8 +71,11 @@ cvsclean-work:
|
||||
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); \
|
||||
@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
|
||||
|
||||
gitclean-work:
|
||||
@echo "We don't know how to clean Git checkouts yet."
|
||||
|
||||
.PHONY: $(ALWAYS) snapshot
|
||||
|
@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
cscript /nologo win32\build\cvsclean.js
|
11
vcsclean
Executable file
11
vcsclean
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user