summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fed3d69..0386860 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
PKGNAME = git.sr.ht/~sircmpwn/aerc2
-GOPATH = $(realpath .go)
+GOPATH = $(shell pwd)/.go
PKGPATH = .go/src/$(PKGNAME)
all: aerc
.go:
mkdir -p $(dir $(PKGPATH))
- ln -fTrs $(realpath .) $(PKGPATH)
+ ln -fs $(shell dirname $(GOPATH)) $(PKGPATH)
get: .go
env GOPATH=$(GOPATH) go get -d ./...