File tree 4 files changed +17
-8
lines changed
4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $(STAMP): build/buildcheck.sh
45
45
snapshot :
46
46
distname=' $(DISTNAME)' ; \
47
47
if test -z " $$ distname" ; then \
48
- distname=' php5 -snapshot' ; \
48
+ distname=' php6 -snapshot' ; \
49
49
fi ; \
50
50
myname=` basename \` pwd\` ` ; \
51
51
cd .. && cp -rp $$ myname $$ distname; \
@@ -71,8 +71,11 @@ cvsclean-work:
71
71
done
72
72
73
73
svnclean-work :
74
- for i in ` find . -type d -and -not -path ' */.svn/*' ` ; do \
75
- (cd ` dirname $$ i` 2> /dev/null && svn propget svn:ignore $i | xargs rm -rf && rm -rf * .o * .a .libs || true); \
74
+ @ for i in ` find . -type d -and -not -path ' */.svn/*' ` ; do \
75
+ (cd ` dirname $$ i` 2> /dev/null && svn propget svn:ignore $$ i | xargs rm -rf && rm -rf * .o * .a .libs || true); \
76
76
done
77
77
78
+ gitclean-work :
79
+ @echo " We don't know how to clean Git checkouts yet."
80
+
78
81
.PHONY : $(ALWAYS ) snapshot
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ if test -d ' CVS' ; then
4
+ ${MAKE:- make} -f build/build.mk cvsclean-work
5
+ elif test -d ' .svn' ; then
6
+ ${MAKE:- make} -f build/build.mk svnclean-work
7
+ elif test -d ' .git' ; then
8
+ ${MAKE:- make} -f build/build.mk gitclean-work
9
+ else
10
+ echo " Can't figure out your VCS, not cleaning."
11
+ fi
You can’t perform that action at this time.
0 commit comments