Removed the '-r' flag from the ln command in the install step of the Makefile. It is not a POSIX compliant option, therefore does not work on BSD or OS X. Reference GH Issue#286.

Based on my understanding of this Makefile, the '-r' flag is unnecessary and didn't do anything additional.  The pathspec for both the source and target are explicit using a variable for a portion.
Will test via Homebrew following pushing this to my fork.
This commit is contained in:
tduzan 2015-06-26 12:35:03 -06:00
parent 5b554ff474
commit 3bd8c36b74

View File

@ -62,7 +62,7 @@ install: kak
mkdir -p $(sharedir)/rc mkdir -p $(sharedir)/rc
install -m 0644 ../share/kak/kakrc $(sharedir) install -m 0644 ../share/kak/kakrc $(sharedir)
install -m 0644 ../rc/* $(sharedir)/rc install -m 0644 ../rc/* $(sharedir)/rc
ln -r -s $(sharedir)/rc $(sharedir)/autoload ln -s $(sharedir)/rc $(sharedir)/autoload
mkdir -p $(docdir) mkdir -p $(docdir)
install -m 0644 ../README.asciidoc $(docdir) install -m 0644 ../README.asciidoc $(docdir)
install -m 0644 ../doc/* $(docdir) install -m 0644 ../doc/* $(docdir)