Hack together a quick way to execute using local bindirs (#1)
This commit is contained in:
parent
cbc8bede7a
commit
3b01025006
5 changed files with 56 additions and 2 deletions
8
Makefile
8
Makefile
|
@ -1,11 +1,15 @@
|
|||
excludes = -I Makefile -I README.md
|
||||
symlinks = $(shell find . \( ! -iname "Makefile" ! -iname "README.md" ! -iname ".*" ! -path "./.git/*" ! -path "./zsh/*" ! -path "./nvim/*" ! -iname "nvim" \) | sed 's|./||')
|
||||
symlinks = $(shell find . -maxdepth 1 \( ! -iname "Makefile" ! -iname "README.md" ! -iname ".*" ! -name "bin" ! -iname "nvim" \) | sed 's|./||')
|
||||
|
||||
.PHONY: $(symlinks) nvim
|
||||
|
||||
all: install
|
||||
|
||||
install: plug-vim $(symlinks)
|
||||
install: install-bin plug-vim $(symlinks)
|
||||
|
||||
install-bin:
|
||||
mkdir -p $$HOME/bin
|
||||
cp bin/* $$HOME/bin
|
||||
|
||||
nvim:
|
||||
mkdir -p ~/.config/nvim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue