Hack together a quick way to execute using local bindirs (#1)

This commit is contained in:
Andrew Tomaka 2021-03-31 23:31:05 -04:00 committed by GitHub
parent cbc8bede7a
commit 3b01025006
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 56 additions and 2 deletions

View file

@ -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