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 @@ ...@@ -9,14 +9,6 @@
# #
# to rebuild the dependency information in Make.deps. # 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 all: install
DIRS=\ DIRS=\
...@@ -190,19 +182,19 @@ test.dirs: $(addsuffix .test, $(TEST)) ...@@ -190,19 +182,19 @@ test.dirs: $(addsuffix .test, $(TEST))
bench.dirs: $(addsuffix .bench, $(BENCH)) bench.dirs: $(addsuffix .bench, $(BENCH))
%.clean: %.clean:
+cd $* && $(QUOTED_GOBIN)/gomake clean +cd $* && gomake clean
%.install: %.install:
+cd $* && $(QUOTED_GOBIN)/gomake install +cd $* && gomake install
%.nuke: %.nuke:
+cd $* && $(QUOTED_GOBIN)/gomake nuke +cd $* && gomake nuke
%.test: %.test:
+cd $* && $(QUOTED_GOBIN)/gomake test +cd $* && gomake test
%.bench: %.bench:
+cd $* && $(QUOTED_GOBIN)/gomake bench +cd $* && gomake bench
clean: clean.dirs 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