blob: 74054e974c9ed8c4312ce624bab5526a7b4cd9ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# 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)"/$*
|