commit | 70f08b47a00008fbe14946924437fa2b8612a5a2 | [log] [tgz] |
---|---|---|
author | Gustavo Niemeyer <gustavo@niemeyer.net> | Mon Mar 07 10:54:53 2011 -0500 |
committer | Russ Cox <rsc@golang.org> | Mon Mar 07 10:54:53 2011 -0500 |
tree | 41ea4edb5bc1913a4245e4a04347c51769d57992 | |
parent | f9ca3b5d5b05819704dfce5db77c48a4edab131f [diff] |
goinstall: handle $(GOOS) and $(GOARCH) in filenames This enables goinstall to handle .go and .c files (for cgo) which are named after the following patterns: name_$(GOOS).* name_$(GOARCH).* name_$(GOOS)_$(GOARCH).* Files with those names are only included if the $(GOOS) and $(GOARCH) match the current system. R=rsc CC=golang-dev https://golang.org/cl/4172055