Update of /cvsroot/nice/Nice
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22492
Modified Files:
Makefile
Log Message:
Correctly handle cleaning when both dispatch.java and dispatch.java.bootstrap
exist.
This can happen in particular if dispatch.java exists, and a new version of
dispatch.java.bootstrap is obtained with cvs update.
Index: Makefile
===================================================================
RCS file: /cvsroot/nice/Nice/Makefile,v
retrieving revision 1.164
retrieving revision 1.165
diff -C2 -d -r1.164 -r1.165
*** Makefile 11 Apr 2005 12:45:36 -0000 1.164
--- Makefile 25 May 2005 22:20:28 -0000 1.165
***************
*** 133,137 ****
rm -rf classes classes-inline share/java
src/bossa/parser/{Parse*.java,Token*.java,*CharStream.java}
rm -f bin/{nicedoc,niceunit}
! [ -r src/bossa/syntax/dispatch.java ] && mv
src/bossa/syntax/dispatch.java src/bossa/syntax/dispatch.java.bootstrap || true
find . \( -name "*.class" -o -name "*.nicei" -o -name "*~" \) -exec rm
{} \;
--- 133,139 ----
rm -rf classes classes-inline share/java
src/bossa/parser/{Parse*.java,Token*.java,*CharStream.java}
rm -f bin/{nicedoc,niceunit}
! if [ -r src/bossa/syntax/dispatch.java -a ! -r
src/bossa/syntax/dispatch.java.bootstrap ]; then \
! mv src/bossa/syntax/dispatch.java
src/bossa/syntax/dispatch.java.bootstrap; fi
! [ -r src/bossa/syntax/dispatch.java ] && rm
src/bossa/syntax/dispatch.java
find . \( -name "*.class" -o -name "*.nicei" -o -name "*~" \) -exec rm
{} \;
-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
|