Commit ef8af73e authored by Russ Cox's avatar Russ Cox

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
parent a41db431
...@@ -12,7 +12,9 @@ $(OFILES): $(HFILES) ...@@ -12,7 +12,9 @@ $(OFILES): $(HFILES)
clean: clean:
rm -f *.$(HOST_O) $(TARG) $(CLEANFILES) rm -f *.$(HOST_O) $(TARG) $(CLEANFILES)
ifneq ($(NOINSTALL),1)
install: $(QUOTED_GOBIN)/$(TARG) install: $(QUOTED_GOBIN)/$(TARG)
endif
$(QUOTED_GOBIN)/$(TARG): $(TARG) $(QUOTED_GOBIN)/$(TARG): $(TARG)
cp $(TARG) "$(GOBIN)"/$(TARG) cp $(TARG) "$(GOBIN)"/$(TARG)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment