From: Sergio Luis O. B. Correia Date: Mon, 30 Nov 2009 02:14:49 +0000 (-0800) Subject: crypto/md4, exp/draw/x11: fix makefile to build when GOROOT has whitespaces X-Git-Tag: weekly.2009-12-07~116 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=46892656c7438115f1c48c5c18c517f3f7b987f9;p=gostls13.git crypto/md4, exp/draw/x11: fix makefile to build when GOROOT has whitespaces this is the exact same thing issue #115 is about. fix makefiles to use relative path to work in the case we have whitespaces as part of GOROOT. R=rsc https://golang.org/cl/162055 --- diff --git a/src/pkg/crypto/md4/Makefile b/src/pkg/crypto/md4/Makefile index 087d898663..5fff2dd8fd 100644 --- a/src/pkg/crypto/md4/Makefile +++ b/src/pkg/crypto/md4/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/md4 GOFILES=\ md4.go\ md4block.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/exp/draw/x11/Makefile b/src/pkg/exp/draw/x11/Makefile index 808d5f0b25..d4e65ca730 100644 --- a/src/pkg/exp/draw/x11/Makefile +++ b/src/pkg/exp/draw/x11/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../../Make.$(GOARCH) TARG=exp/draw/x11 GOFILES=\ auth.go\ conn.go\ -include $(GOROOT)/src/Make.pkg +include ../../../../Make.pkg