mirror of
https://github.com/golang/go
synced 2024-11-24 22:57:57 -07:00
gotry: move into its own directory, separate from gotest.
R=rsc CC=golang-dev https://golang.org/cl/4327045
This commit is contained in:
parent
62ed6ee6c4
commit
f61b7e5dc5
@ -19,6 +19,7 @@ DIRS=\
|
||||
godefs\
|
||||
gopack\
|
||||
gotest\
|
||||
gotry\
|
||||
nm\
|
||||
prof\
|
||||
|
||||
|
@ -9,7 +9,7 @@ TARG=install
|
||||
clean:
|
||||
@true
|
||||
|
||||
install: install-gotest install-gotry
|
||||
install: install-gotest
|
||||
|
||||
install-%: %
|
||||
! test -f "$(GOBIN)"/$* || chmod u+w "$(GOBIN)"/$*
|
||||
|
18
src/cmd/gotry/Makefile
Normal file
18
src/cmd/gotry/Makefile
Normal file
@ -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)"/$*
|
||||
|
Loading…
Reference in New Issue
Block a user