aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-09-03 15:37:57 -0400
committerRuss Cox <rsc@golang.org>2010-09-03 15:37:57 -0400
commitef8af73ef53da61121b27c26d117f45e8c3e450d (patch)
tree332429fa8e167ea49f37774bafde8c608c35d254
parenta41db4318d0e551e22d0766d6191e436ea9fa87b (diff)
downloadgo-ef8af73ef53da61121b27c26d117f45e8c3e450d.tar.gz
go-ef8af73ef53da61121b27c26d117f45e8c3e450d.zip
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
-rw-r--r--src/Make.ccmd2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Make.ccmd b/src/Make.ccmd
index 3797fae6c0..e22e256f00 100644
--- a/src/Make.ccmd
+++ b/src/Make.ccmd
@@ -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)