aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 18493180bdbbdadfe415d68c3a04a13b946fff43
parent 25f21b55bd3179258f02d5498ecc969ff1ad820a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue, 13 Feb 2018 23:06:37 -0500

Make Makefile more POSIXly portable

This breaks out of tree builds though

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 ./...