diff options
Diffstat (limited to 'src/cmd/gotry/Makefile')
-rw-r--r-- | src/cmd/gotry/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cmd/gotry/Makefile b/src/cmd/gotry/Makefile new file mode 100644 index 000000000..6a32bbf2d --- /dev/null +++ b/src/cmd/gotry/Makefile @@ -0,0 +1,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-gotry + +install-%: % + ! test -f "$(GOBIN)"/$* || chmod u+w "$(GOBIN)"/$* + sed 's`@@GOROOT@@`$(GOROOT_FINAL)`' $* >"$(GOBIN)"/$* + chmod +x "$(GOBIN)"/$* + |