Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(655)

Unified Diff: src/pkg/Makefile

Issue 4174055: code review 4174055: build: reduce the use of subshells in recursive make (Closed)
Patch Set: diff -r 4892f94182a5 https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/Make.common ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/Makefile
===================================================================
--- a/src/pkg/Makefile
+++ b/src/pkg/Makefile
@@ -211,19 +211,19 @@
bench.dirs: $(addsuffix .bench, $(BENCH))
%.clean:
- +cd $* && $(MAKE) clean
+ +$(MAKE) -C $* clean
%.install:
- +cd $* && $(MAKE) install
+ +$(MAKE) -C $* install
%.nuke:
- +cd $* && $(MAKE) nuke
+ +$(MAKE) -C $* nuke
%.test:
- +cd $* && $(MAKE) test
+ +$(MAKE) -C $* test
%.bench:
- +cd $* && $(MAKE) bench
+ +$(MAKE) -C $* bench
clean: clean.dirs
« no previous file with comments | « src/Make.common ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b