Delta Between Two Patch Sets: src/cmd/goinstall/Makefile
Issue 4515180 :
code review 4515180: goinstall: use go/make package to scan and build packages (Closed)
Left Patch Set:
Right Patch Set: diff -r 6bf5e0a7d60a https://go.googlecode.com/hg/
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/cmd/goinstall/Makefile
src/cmd/goinstall/doc.go
src/cmd/goinstall/main.go
src/cmd/goinstall/make.go
src/cmd/goinstall/parse.go
src/cmd/goinstall/path.go
src/cmd/goinstall/syslist_test.go
src/pkg/Makefile
src/pkg/go/build/build.go
src/pkg/go/build/build_test.go
src/pkg/go/build/dir.go
LEFT RIGHT
(no file at all) 1 # Copyright 2009 The Go Authors. All rights reserved. 1 # Copyright 2009 The Go Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style 2 # Use of this source code is governed by a BSD-style
3 # license that can be found in the LICENSE file. 3 # license that can be found in the LICENSE file.
4 4
5 include ../../Make.inc 5 include ../../Make.inc
6 6
7 TARG=goinstall 7 TARG=goinstall
8 GOFILES=\ 8 GOFILES=\
9 download.go\ 9 download.go\
10 main.go\ 10 main.go\
11 make.go\
12 parse.go\
13 path.go\
14 syslist.go\
15
16 CLEANFILES+=syslist.go
17 11
18 include ../../Make.cmd 12 include ../../Make.cmd
19
20 syslist.go:
21 echo '// Generated automatically by make.' >$@
22 echo 'package main' >>$@
23 echo 'const goosList = "$(GOOS_LIST)"' >>$@
24 echo 'const goarchList = "$(GOARCH_LIST)"' >>$@
25
26 test:
27 gotest
28
29 testshort:
30 gotest -test.short
LEFT RIGHT