]> Cypherpunks repositories - gostls13.git/commit
goinstall: handle $(GOOS) and $(GOARCH) in filenames
authorGustavo Niemeyer <gustavo@niemeyer.net>
Mon, 7 Mar 2011 15:54:53 +0000 (10:54 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Mar 2011 15:54:53 +0000 (10:54 -0500)
commit70f08b47a00008fbe14946924437fa2b8612a5a2
tree41ea4edb5bc1913a4245e4a04347c51769d57992
parentf9ca3b5d5b05819704dfce5db77c48a4edab131f
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
.hgignore
src/Make.inc
src/cmd/goinstall/Makefile
src/cmd/goinstall/parse.go
src/cmd/goinstall/syslist_test.go [new file with mode: 0644]
src/pkg/Makefile