# Copyright 2009 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=gotest | |
clean: | |
@true | |
install: $(TARG) | |
! test -f "$(GOBIN)"/$(TARG) || chmod u+w "$(GOBIN)"/$(TARG) | |
sed 's`@@GOROOT@@`$(GOROOT_FINAL)`' gotest >"$(GOBIN)"/$(TARG) | |
chmod +x "$(GOBIN)"/$(TARG) | |