make: prevent rm provoking 'text file busy' errors.

Trivial patch to stop intermediate rm'ing of binaries stopping build.

R=rsc1, bradfitzgo, rsc
CC=golang-dev
https://golang.org/cl/4412045
This commit is contained in:
Lorenzo Stoakes 2011-04-15 08:25:44 -04:00 committed by Russ Cox
parent 4c9634fc5b
commit bdcc0437f6

View file

@ -6,13 +6,13 @@ clean:
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES)
install.clean: install
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES)
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
test.clean: test
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES)
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
testshort.clean: testshort
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES)
rm -rf *.o *.a *.[$(OS)] [$(OS)].out $(CLEANFILES) || true
%.make:
$(MAKE) -C $* install