mirror of
https://github.com/golang/go
synced 2024-11-22 00:04: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:
parent
1cecac8134
commit
34191d943b
@ -208,11 +208,11 @@ To build the Go distribution, run
|
||||
|
||||
<pre>
|
||||
$ cd $GOROOT/src
|
||||
$ make all
|
||||
$ ./all.bash
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
If <code>make all</code> goes well, it will finish by printing
|
||||
If all goes well, it will finish by printing
|
||||
</p>
|
||||
|
||||
<pre>
|
||||
|
16
src/Makefile
16
src/Makefile
@ -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
|
||||
|
@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
exec make all
|
||||
#!/usr/bin/env bash
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user