1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:24:41 -07:00

Remove top-level (src/) Makefile.

R=rsc, dho, r
CC=golang-dev
https://golang.org/cl/194045
This commit is contained in:
Christopher Wedgwood 2010-01-25 00:09:46 -08:00 committed by Russ Cox
parent 1cecac8134
commit 34191d943b
3 changed files with 9 additions and 20 deletions

View File

@ -208,11 +208,11 @@ To build the Go distribution, run
<pre> <pre>
$ cd $GOROOT/src $ cd $GOROOT/src
$ make all $ ./all.bash
</pre> </pre>
<p> <p>
If <code>make all</code> goes well, it will finish by printing If all goes well, it will finish by printing
</p> </p>
<pre> <pre>

View File

@ -1,16 +0,0 @@
# GNU Make syntax:
nullstring :=
space := $(nullstring) # a space at the end
QUOTED_GOROOT=$(subst $(space),\ ,$(GOROOT))
all: build run
build:
bash $(QUOTED_GOROOT)/src/make.bash
run:
bash $(QUOTED_GOROOT)/src/run.bash
clean:
bash $(QUOTED_GOROOT)/src/clean.bash

View File

@ -1,3 +1,8 @@
#!/bin/sh #!/usr/bin/env bash
exec make all # 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.
set -e
bash make.bash
bash run.bash