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

build: implement NOINSTALL=1 for Make.ccmd

The makefiles for prof and cov use it already.
(It's also in Make.clib.)

R=adg
CC=golang-dev
https://golang.org/cl/2036045
This commit is contained in:
Russ Cox 2010-09-03 15:37:57 -04:00
parent a41db4318d
commit ef8af73ef5

View File

@ -12,7 +12,9 @@ $(OFILES): $(HFILES)
clean:
rm -f *.$(HOST_O) $(TARG) $(CLEANFILES)
ifneq ($(NOINSTALL),1)
install: $(QUOTED_GOBIN)/$(TARG)
endif
$(QUOTED_GOBIN)/$(TARG): $(TARG)
cp $(TARG) "$(GOBIN)"/$(TARG)