LEFT | RIGHT |
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 # After editing the DIRS= list or adding imports to any Go files | 5 # After editing the DIRS= list or adding imports to any Go files |
6 # in any of those directories, run: | 6 # in any of those directories, run: |
7 # | 7 # |
8 # ./deps.bash | 8 # ./deps.bash |
9 # | 9 # |
10 # to rebuild the dependency information in Make.deps. | 10 # to rebuild the dependency information in Make.deps. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 TEST=\ | 114 TEST=\ |
115 $(filter-out $(NOTEST),$(DIRS)) | 115 $(filter-out $(NOTEST),$(DIRS)) |
116 | 116 |
117 clean.dirs: $(addsuffix .clean, $(DIRS)) | 117 clean.dirs: $(addsuffix .clean, $(DIRS)) |
118 install.dirs: $(addsuffix .install, $(DIRS)) | 118 install.dirs: $(addsuffix .install, $(DIRS)) |
119 nuke.dirs: $(addsuffix .nuke, $(DIRS)) | 119 nuke.dirs: $(addsuffix .nuke, $(DIRS)) |
120 test.dirs: $(addsuffix .test, $(TEST)) | 120 test.dirs: $(addsuffix .test, $(TEST)) |
121 | 121 |
122 %.clean: | 122 %.clean: |
123 » +cd $* && sanemake clean | 123 » +cd $* && gomake clean |
124 | 124 |
125 %.install: | 125 %.install: |
126 » +cd $* && sanemake install | 126 » +cd $* && gomake install |
127 | 127 |
128 %.nuke: | 128 %.nuke: |
129 » +cd $* && sanemake nuke | 129 » +cd $* && gomake nuke |
130 | 130 |
131 %.test: | 131 %.test: |
132 » +cd $* && sanemake test | 132 » +cd $* && gomake test |
133 | 133 |
134 clean: clean.dirs | 134 clean: clean.dirs |
135 | 135 |
136 install: install.dirs | 136 install: install.dirs |
137 | 137 |
138 test: test.dirs | 138 test: test.dirs |
139 | 139 |
140 nuke: nuke.dirs | 140 nuke: nuke.dirs |
141 rm -rf $(GOROOT)/pkg/* | 141 rm -rf $(GOROOT)/pkg/* |
142 | 142 |
143 deps: | 143 deps: |
144 ./deps.bash | 144 ./deps.bash |
145 | 145 |
146 include Make.deps | 146 include Make.deps |
LEFT | RIGHT |