1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:54:42 -07:00

src: Make.pkg don't create $(TARGDIR) with goinstall.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4548071
This commit is contained in:
Yasuhiro Matsumoto 2011-05-30 12:35:55 +10:00 committed by Andrew Gerrand
parent c6fd1e0115
commit 1042572528

View File

@ -79,7 +79,7 @@ testpackage-clean:
install: $(INSTALLFILES)
$(TARGDIR)/$(TARG).a: _obj/$(TARG).a
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(TARGDIR)/$(dir)
@mkdir -p $(TARGDIR)/$(dir)
cp _obj/$(TARG).a "$@"
_go_.$O: $(GOFILES) $(PREREQ)
@ -227,7 +227,7 @@ _obj/$(SWIG_PREFIX)-%.so: _obj/%_wrapcxx.o
$(HOST_CXX) $(_CGO_CFLAGS_$(GOARCH)) -o $@ $^ $(SWIG_LDFLAGS) $(_CGO_LDFLAGS_$(GOOS)) $(_SWIG_LDFLAGS_$(GOOS))
$(TARGDIR)/swig/$(SWIG_PREFIX)-%.so: _obj/$(SWIG_PREFIX)-%.so
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(TARGDIR)/swig
@mkdir -p $(TARGDIR)/swig
cp $< "$@"
all: $(SWIG_SOS)