From 6962e2b7542964af7c750336bda18e4b07843039 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 30 Mar 2010 10:44:51 -0700 Subject: [PATCH] make: use actual dependency for install otherwise "make install" runs cp unconditionally R=r CC=golang-dev https://golang.org/cl/802044 --- src/Make.pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Make.pkg b/src/Make.pkg index 6f4cf07bfee..d7756416655 100644 --- a/src/Make.pkg +++ b/src/Make.pkg @@ -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 "$@"