summaryrefslogtreecommitdiff
path: root/src/Make.dist
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
committerRuss Cox <rsc@golang.org>2012-02-06 13:34:25 -0500
commit0c6aaf174960bc22938f3294e2ff7d2adfa39813 (patch)
tree5660ba627bfe283f801e810cd00c641400b2c2ce /src/Make.dist
parent5a0ce39ecbd18a93e42411cae9b618460de9a857 (diff)
downloadgo-0c6aaf174960bc22938f3294e2ff7d2adfa39813.tar.gz
build: delete make paraphernalia
As a convenience to people working on the tools, leave Makefiles that invoke the go dist tool appropriately. They are not used during the build. R=golang-dev, bradfitz, n13m3y3r, gustavo CC=golang-dev http://codereview.appspot.com/5636050
Diffstat (limited to 'src/Make.dist')
-rw-r--r--src/Make.dist15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Make.dist b/src/Make.dist
new file mode 100644
index 000000000..78e6edf04
--- /dev/null
+++ b/src/Make.dist
@@ -0,0 +1,15 @@
+# Copyright 2012 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.
+
+# Run go tool dist to install a command.
+# The -vv causes dist to print each build command as it runs.
+# go tool dist clean cleans all directories, not just this one,
+# but it's as close as we can get.
+
+# Default target (first).
+install:
+ go tool dist install -vv
+
+clean:
+ go tool dist clean