]> git.ipfire.org Git - thirdparty/wireguard-go.git/commitdiff
Don't cause a new fake gopath to call dep
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 23 May 2018 15:30:35 +0000 (17:30 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 23 May 2018 15:31:06 +0000 (17:31 +0200)
Makefile

index bef7edfa541e3579b48aa5e1d64d8b20ae784052..4cba1de59dbc6ec0106ebe9a85e80c32fd1df0c2 100644 (file)
--- 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