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