2 RPATH := $(subst $(wildcard ~/),,$(APATH))
5 DOTFILES := bash* flexget vimrc
7 .PHONY: install $(FILES) $(DOTFILES)
8 install: $(FILES) $(DOTFILES)
11 @if [[ -f ~/$@ || -d ~/$@ ]]; then \
12 if [[ -d $@ ]]; then \
19 ln -sf $(RPATH)/$@ ~/.$@
22 @if [[ -f ~/.$@ || -d ~/.$@ ]]; then \
23 if [[ -d $@ ]]; then \
30 ln -sf $(RPATH)/$@ ~/.$@