diff options
author | Russ Cox <rsc@golang.org> | 2010-03-30 10:44:51 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-03-30 10:44:51 -0700 |
commit | 68643f292414be8ca1b95a2f6e85e1fb64876cf3 (patch) | |
tree | 3a282d14e0c5db963620a5f726abe0765d96741d /src | |
parent | fcf5392cf36c08da93fe552d42ac261db03e317b (diff) | |
download | golang-68643f292414be8ca1b95a2f6e85e1fb64876cf3.tar.gz |
make: use actual dependency for install
otherwise "make install" runs cp unconditionally
R=r
CC=golang-dev
http://codereview.appspot.com/802044
Diffstat (limited to 'src')
-rw-r--r-- | src/Make.pkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Make.pkg b/src/Make.pkg index 6f4cf07bf..d77564166 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 "$@" |