Russ Cox | fec7fa8 | 2012-02-06 13:34:25 -0500 | [diff] [blame] | 1 | # Copyright 2012 The Go Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style |
| 3 | # license that can be found in the LICENSE file. |
| 4 | |
| 5 | # Run go tool dist to install a command. |
Russ Cox | 596840a | 2012-02-08 15:26:47 -0500 | [diff] [blame] | 6 | # The -v causes dist to print the name of each directory as it runs. |
Russ Cox | fec7fa8 | 2012-02-06 13:34:25 -0500 | [diff] [blame] | 7 | # The -vv causes dist to print each build command as it runs. |
| 8 | # go tool dist clean cleans all directories, not just this one, |
| 9 | # but it's as close as we can get. |
| 10 | |
| 11 | # Default target (first). |
| 12 | install: |
Russ Cox | 596840a | 2012-02-08 15:26:47 -0500 | [diff] [blame] | 13 | go tool dist install -v |
| 14 | |
| 15 | verbose: |
Russ Cox | fec7fa8 | 2012-02-06 13:34:25 -0500 | [diff] [blame] | 16 | go tool dist install -vv |
| 17 | |
| 18 | clean: |
| 19 | go tool dist clean |