blob: 74054e974c9ed8c4312ce624bab5526a7b4cd9ad [file] [log] [blame]
# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
include ../../Make.inc
TARG=install
clean:
@true
install: install-gotest install-gotry
install-%: %
! test -f "$(GOBIN)"/$* || chmod u+w "$(GOBIN)"/$*
sed 's`@@GOROOT@@`$(GOROOT_FINAL)`' $* >"$(GOBIN)"/$*
chmod +x "$(GOBIN)"/$*