aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 17:30:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 17:31:06 +0200
commit8a92a9109aa8214b18a020b6ab2b5a9dd9350a45 (patch)
treec68f26dcd490938a5c762c86d8b82c3c29f50b0e
parentInfoleak ifnames and be more permissive (diff)
downloadwireguard-go-8a92a9109aa8214b18a020b6ab2b5a9dd9350a45.tar.xz
wireguard-go-8a92a9109aa8214b18a020b6ab2b5a9dd9350a45.zip
Don't cause a new fake gopath to call dep
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bef7edf..4cba1de 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ GO_IMPORT_PATH := git.zx2c4.com/wireguard-go
ln -s ../../.. .gopath/src/$(GO_IMPORT_PATH)
touch $@
-vendor/.created: Gopkg.toml Gopkg.lock .gopath/.created
+vendor/.created: Gopkg.toml Gopkg.lock | .gopath/.created
command -v dep >/dev/null || go get -v github.com/golang/dep/cmd/dep
cd .gopath/src/$(GO_IMPORT_PATH) && dep ensure -vendor-only -v
touch $@
@@ -36,7 +36,7 @@ install: wireguard-go
clean:
rm -f wireguard-go
-update-dep:
+update-dep: | .gopath/.created
command -v dep >/dev/null || go get -v github.com/golang/dep/cmd/dep
cd .gopath/src/$(GO_IMPORT_PATH) && dep ensure -update -v