1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:04:44 -07:00

make: use actual dependency for install

otherwise "make install" runs cp unconditionally

R=r
CC=golang-dev
https://golang.org/cl/802044
This commit is contained in:
Russ Cox 2010-03-30 10:44:51 -07:00
parent 5b257732ac
commit 6962e2b754

View File

@ -60,7 +60,7 @@ testpackage-clean:
install: $(INSTALLFILES)
$(pkgdir)/$(TARG).a: package
$(pkgdir)/$(TARG).a: _obj/$(TARG).a
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(pkgdir)/$(dir)
cp _obj/$(TARG).a "$@"