diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-13 23:06:37 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-13 23:06:37 -0500 |
commit | 18493180bdbbdadfe415d68c3a04a13b946fff43 (patch) | |
tree | 32c66be903bd6fe86d860b3c191d8cddbe10e6cb /Makefile | |
parent | 25f21b55bd3179258f02d5498ecc969ff1ad820a (diff) | |
download | aerc-18493180bdbbdadfe415d68c3a04a13b946fff43.tar.gz |
Make Makefile more POSIXly portable
This breaks out of tree builds though
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ./... |