1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:08:02 -07:00

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