-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (25 loc) · 779 Bytes
/
Makefile
File metadata and controls
36 lines (25 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
MAKEFILE_VIM = vim/Makefile
MAKEFILE_NVIM = nvim/Makefile
.PHONY: all
all: help
.PHONY: help
help:
@echo "make < [vim/|nvim/]install | [vim/|nvim/]update | [vim/|nvim/]deps | [vim/|nvim/]uninstall >"
@echo " install: Install this plugin on this system via soft-links."
@echo " uninstall: Remove the plugin soft-links."
@echo " update: Update the plugins."
@echo " deps: Install the command depends on this system."
.PHONY: install
install: vim/install nvim/install
.PHONY: uninstall
uninstall: vim/uninstall nvim/uninstall
.PHONY: update
update: vim/update nvim/update
.PHONY: deps
deps: vim/deps nvim/deps
.PHONY: vim/%
vim/%:
make -f $(MAKEFILE_VIM) $(subst vim/,,$@)
.PHONY: nvim/%
nvim/%:
make -f $(MAKEFILE_NVIM) $(subst nvim/,,$@)