Commit 9a04cba8 authored by Martin Neubauer's avatar Martin Neubauer Committed by Russ Cox

src/pkg/Makefile: delete use of QUOTED_GOBIN

R=rsc
CC=golang-dev
https://golang.org/cl/1997044
parent 0c65748e
......@@ -9,14 +9,6 @@
#
# to rebuild the dependency information in Make.deps.
nullstring :=
space := $(nullstring) # a space at the end
ifndef GOBIN
QUOTED_HOME=$(subst $(space),\ ,$(HOME))
GOBIN=$(QUOTED_HOME)/bin
endif
QUOTED_GOBIN=$(subst $(space),\ ,$(GOBIN))
all: install
DIRS=\
......@@ -190,19 +182,19 @@ test.dirs: $(addsuffix .test, $(TEST))
bench.dirs: $(addsuffix .bench, $(BENCH))
%.clean:
+cd $* && $(QUOTED_GOBIN)/gomake clean
+cd $* && gomake clean
%.install:
+cd $* && $(QUOTED_GOBIN)/gomake install
+cd $* && gomake install
%.nuke:
+cd $* && $(QUOTED_GOBIN)/gomake nuke
+cd $* && gomake nuke
%.test:
+cd $* && $(QUOTED_GOBIN)/gomake test
+cd $* && gomake test
%.bench:
+cd $* && $(QUOTED_GOBIN)/gomake bench
+cd $* && gomake bench
clean: clean.dirs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment