]> Cypherpunks repositories - gostls13.git/commitdiff
make: use actual dependency for install
authorRuss Cox <rsc@golang.org>
Tue, 30 Mar 2010 17:44:51 +0000 (10:44 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 30 Mar 2010 17:44:51 +0000 (10:44 -0700)
otherwise "make install" runs cp unconditionally

R=r
CC=golang-dev
https://golang.org/cl/802044

src/Make.pkg

index 6f4cf07bfee6155d968bb00ee31967ed88191f64..d77564166557a91311557bd9478832113f2ef38e 100644 (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 "$@"