home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0a845
)
Handle Mac build of Neovim
author
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 26 Oct 2020 20:17:49 +0000
(16:17 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 26 Oct 2020 20:17:49 +0000
(16:17 -0400)
deps/neovim/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/deps/neovim/Makefile
b/deps/neovim/Makefile
index
696b1e4
..
6d23fb9
100644
(file)
--- a/
deps/neovim/Makefile
+++ b/
deps/neovim/Makefile
@@
-1,3
+1,9
@@
+ifeq ($(shell uname),Darwin)
+ DEPS := brew install ninja libtool automake cmake pkg-config gettext
+else
+ DEPS := sudo apt install cmake libtool-bin
+endif
+
.PHONY: all
all: deps
$(MAKE) clone
@@
-5,14
+11,12
@@
all: deps
.PHONY: deps
deps:
- sudo apt install \
- cmake \
- libtool-bin
+ $(DEPS)
.PHONY: clone
clone:
mkdir -p data
- cd data && git clone https://github.com/neovim/neovim.git
+ cd data && git clone https://github.com/neovim/neovim.git
|| true
.PHONY: build
build:
This page took
0.028665 seconds
and
4
git commands to generate.